summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score/heap.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-03-08 18:53:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-03-08 18:53:44 +0000
commit15096905d3cd6abc8b2541a33b002974e3019ad3 (patch)
tree71746777e2ed7802ae8399ead4840d0e86a2617e /cpukit/score/macros/rtems/score/heap.inl
parent2006-03-08 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-15096905d3cd6abc8b2541a33b002974e3019ad3.tar.bz2
2006-03-08 Joel Sherrill <joel@OARcorp.com>
* itron/macros/rtems/itron/semaphore.inl, itron/macros/rtems/itron/task.inl: Fix warnings. * posix/macros/rtems/posix/cond.inl: Fix typo. * score/macros/rtems/score/heap.inl: Fix missed type change.
Diffstat (limited to '')
-rw-r--r--cpukit/score/macros/rtems/score/heap.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/macros/rtems/score/heap.inl b/cpukit/score/macros/rtems/score/heap.inl
index a7a7a11a44..5a815c43cf 100644
--- a/cpukit/score/macros/rtems/score/heap.inl
+++ b/cpukit/score/macros/rtems/score/heap.inl
@@ -115,9 +115,9 @@
#define _Heap_Align_up( _value, _alignment ) \
do { \
- unsigned32 v = *(_value); \
- unsigned32 a = (_alignment); \
- unsigned32 r = v % a; \
+ uint32_t v = *(_value); \
+ uint32_t a = (_alignment); \
+ uint32_t r = v % a; \
*(_value) = r ? v - r + a : v; \
} while(0)
@@ -128,7 +128,7 @@
#define _Heap_Align_down( _value, _alignment ) \
do { \
- unsigned32 v = *(_value); \
+ uint32_t v = *(_value); \
*(_value) = v - (v % (_alignment)); \
} while(0)
@@ -148,7 +148,7 @@
#define _Heap_Align_up_uptr( _value, _alignment ) \
do { \
_H_uptr_t v = *(_value); \
- unsigned32 a = (_alignment); \
+ uint32_t a = (_alignment); \
_H_uptr_t r = v % a; \
*(_value) = r ? v - r + a : v; \
} while(0)