aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MinGW/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-04 10:33:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-04 10:33:38 +0000
commit99ac65be2ac3d59a4de3b5adaa4dd9adeb80c1e2 (patch)
treef5b7095946f7b4553698e91adfe07f2bcaa1e110 /demos/Win32-MinGW/chcore.h
parentec0a917ae1bef32f1848161e759ef98542327523 (diff)
downloadChibiOS-99ac65be2ac3d59a4de3b5adaa4dd9adeb80c1e2.tar.gz
ChibiOS-99ac65be2ac3d59a4de3b5adaa4dd9adeb80c1e2.tar.bz2
ChibiOS-99ac65be2ac3d59a4de3b5adaa4dd9adeb80c1e2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@213 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MinGW/chcore.h')
-rw-r--r--demos/Win32-MinGW/chcore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/Win32-MinGW/chcore.h b/demos/Win32-MinGW/chcore.h
index 6bb2664f5..fed88c171 100644
--- a/demos/Win32-MinGW/chcore.h
+++ b/demos/Win32-MinGW/chcore.h
@@ -45,7 +45,7 @@ typedef struct {
#define SETUP_CONTEXT(workspace, wsize, pf, arg) \
{ \
- BYTE8 *esp = (BYTE8 *)workspace + wsize; \
+ uint8_t *esp = (uint8_t *)workspace + wsize; \
APUSH(esp, arg); \
APUSH(esp, threadstart); \
esp -= sizeof(struct intctx); \
@@ -70,7 +70,7 @@ typedef struct {
sizeof(struct intctx) + \
(n) + \
INT_REQUIRED_STACK)
-#define WorkingArea(s, n) ULONG32 s[UserStackSize(n) >> 2];
+#define WorkingArea(s, n) uint32_t s[UserStackSize(n) >> 2];
#define IDLE_THREAD_STACK_SIZE 16384
t_msg _IdleThread(void *p);