summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/startup/sbrk.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-19 21:31:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-19 21:31:43 +0000
commitbb573f750f0136ac77d9514532f632adb01aa760 (patch)
tree76c7444ac81e30fce614ac00fdd0c76cf6ae4501 /c/src/lib/libbsp/powerpc/shared/startup/sbrk.c
parent2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-bb573f750f0136ac77d9514532f632adb01aa760.tar.bz2
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/bspgetworkarea.c, shared/startup/sbrk.c: Remove warnings by switching to uintptr_t.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/sbrk.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/sbrk.c b/c/src/lib/libbsp/powerpc/shared/startup/sbrk.c
index 39bf1596d2..07168af8b6 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/sbrk.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/sbrk.c
@@ -75,10 +75,12 @@ static uint32_t remaining_size=0;
#define LIMIT_32M 0x02000000
-uint32_t
-_bsp_sbrk_init(uint32_t heap_start, uint32_t *heap_size_p)
+uintptr_t _bsp_sbrk_init(
+ uintptr_t heap_start,
+ uintptr_t *heap_size_p
+)
{
- uint32_t rval=0;
+ uintptr_t rval=0;
remaining_start = heap_start;
remaining_size =* heap_size_p;