mix bug for datatype

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@93 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
ssslady 2009-10-14 05:24:30 +00:00
parent b6f4d3f637
commit 8d64046091
1 changed files with 3 additions and 3 deletions

View File

@ -30,8 +30,8 @@
*
* @return stack address
*/
rt_uint8 *rt_hw_stack_init(void *tentry, void *parameter,
rt_uint8 *stack_addr, void *texit)
rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
rt_uint8_t *stack_addr, void *texit)
{
unsigned long *stk;
@ -54,6 +54,6 @@ rt_uint8 *rt_hw_stack_init(void *tentry, void *parameter,
*(--stk) = 0; /*edi*/
/* return task's current stack address */
return (rt_uint8 *)stk;
return (rt_uint8_t *)stk;
}
/*@}*/