summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadstackallocate.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-05-08 10:43:06 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-05-08 10:43:06 +0000
commit728a0bd3aa93e4e7422a69d708360a87bb37477b (patch)
treeb287d2ae83726b2ffde0d05f76c6179144ada0f9 /cpukit/score/src/threadstackallocate.c
parent2007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-728a0bd3aa93e4e7422a69d708360a87bb37477b.tar.bz2
Use size_t for stacksizes.
Diffstat (limited to 'cpukit/score/src/threadstackallocate.c')
-rw-r--r--cpukit/score/src/threadstackallocate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/threadstackallocate.c b/cpukit/score/src/threadstackallocate.c
index 6464d2caec..9cc4da54f8 100644
--- a/cpukit/score/src/threadstackallocate.c
+++ b/cpukit/score/src/threadstackallocate.c
@@ -40,13 +40,13 @@
* Set the Start.stack field to the address of the stack
*/
-uint32_t _Thread_Stack_Allocate(
+size_t _Thread_Stack_Allocate(
Thread_Control *the_thread,
- uint32_t stack_size
+ size_t stack_size
)
{
void *stack_addr = 0;
- uint32_t the_stack_size = stack_size;
+ size_t the_stack_size = stack_size;
if ( !_Stack_Is_enough( the_stack_size ) )
the_stack_size = STACK_MINIMUM_SIZE;