aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MSVS/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Win32-MSVS/chcore.h')
-rw-r--r--demos/Win32-MSVS/chcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/Win32-MSVS/chcore.h b/demos/Win32-MSVS/chcore.h
index 487dd175a..26e0b66bf 100644
--- a/demos/Win32-MSVS/chcore.h
+++ b/demos/Win32-MSVS/chcore.h
@@ -63,7 +63,7 @@ typedef struct {
#define INT_REQUIRED_STACK 0x0
-#define UserStackSize(n) (sizeof(Thread) + sizeof(PTR_EQ) + sizeof(PTR_EQ) + \
+#define UserStackSize(n) (sizeof(Thread) + sizeof(void *)*2 + \
sizeof(struct stackregs) + (n) + (INT_REQUIRED_STACK))
void __fastcall chSysHalt(void);