From 728a0bd3aa93e4e7422a69d708360a87bb37477b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 8 May 2007 10:43:06 +0000 Subject: Use size_t for stacksizes. --- cpukit/score/src/threadstackallocate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score/src/threadstackallocate.c') 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; -- cgit v1.2.3