summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/partimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/partimpl.h')
-rw-r--r--cpukit/include/rtems/rtems/partimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtems/partimpl.h b/cpukit/include/rtems/rtems/partimpl.h
index ff857708f0..02d3ff8b44 100644
--- a/cpukit/include/rtems/rtems/partimpl.h
+++ b/cpukit/include/rtems/rtems/partimpl.h
@@ -77,9 +77,9 @@ RTEMS_INLINE_ROUTINE bool _Partition_Is_buffer_on_boundary (
Partition_Control *the_partition
)
{
- uint32_t offset;
+ intptr_t offset;
- offset = (uint32_t) _Addresses_Subtract(
+ offset = _Addresses_Subtract(
the_buffer,
the_partition->starting_address
);