summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/include/rtems/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index 0993f1e632..9243e32305 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -189,7 +189,7 @@ typedef void * proc_ptr;
* This macro is used to obtain the offset of a field in a structure.
*/
#define RTEMS_offsetof(type, field) \
- ((uint32_t) &(((type *) 0)->field))
+ ((uintptr_t) &(((type *) 0)->field))
/**
* The following is the extern for the RTEMS version string.