From fdaa5ec81bfbdef469dc8355b9fd6a41fa5498a7 Mon Sep 17 00:00:00 2001 From: David Brown Date: Thu, 1 Sep 2016 14:53:23 +0100 Subject: [PATCH] Fix outdated CARD32 type in PlatformWindows. --- bootstrap/windows-48/Platform.c | 2 +- bootstrap/windows-88/Platform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/windows-48/Platform.c b/bootstrap/windows-48/Platform.c index b8a6b5a5..76fb4a1d 100644 --- a/bootstrap/windows-48/Platform.c +++ b/bootstrap/windows-48/Platform.c @@ -109,7 +109,7 @@ export BOOLEAN Platform_getEnv (CHAR *var, LONGINT var__len, CHAR *val, LONGINT #define Platform_ERRORWRITEPROTECT() ERROR_WRITE_PROTECT #define Platform_ETIMEDOUT() WSAETIMEDOUT extern void Heap_InitHeap(); -#define Platform_GetTickCount() (LONGINT)(SYSTEM_CARD32)GetTickCount() +#define Platform_GetTickCount() (LONGINT)(uint32)GetTickCount() #define Platform_HeapInitHeap() Heap_InitHeap() #define Platform_SetInterruptHandler(h) SystemSetInterruptHandler((SYSTEM_ADRINT)h) #define Platform_SetQuitHandler(h) SystemSetQuitHandler((SYSTEM_ADRINT)h) diff --git a/bootstrap/windows-88/Platform.c b/bootstrap/windows-88/Platform.c index 2724553b..2e9530e6 100644 --- a/bootstrap/windows-88/Platform.c +++ b/bootstrap/windows-88/Platform.c @@ -110,7 +110,7 @@ export BOOLEAN Platform_getEnv (CHAR *var, LONGINT var__len, CHAR *val, LONGINT #define Platform_ERRORWRITEPROTECT() ERROR_WRITE_PROTECT #define Platform_ETIMEDOUT() WSAETIMEDOUT extern void Heap_InitHeap(); -#define Platform_GetTickCount() (LONGINT)(SYSTEM_CARD32)GetTickCount() +#define Platform_GetTickCount() (LONGINT)(uint32)GetTickCount() #define Platform_HeapInitHeap() Heap_InitHeap() #define Platform_SetInterruptHandler(h) SystemSetInterruptHandler((SYSTEM_ADRINT)h) #define Platform_SetQuitHandler(h) SystemSetQuitHandler((SYSTEM_ADRINT)h)