Explorar el Código

mix bug for datatype

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@93 bbd45198-f89e-11dd-88c7-29a3b14d5316
ssslady hace 15 años
padre
commit
8d64046091
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      libcpu/ia32/stack.c

+ 3 - 3
libcpu/ia32/stack.c

@@ -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;
 }
 /*@}*/