From 8d2fabb1664345b1c1adc326965df063c1be7186 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 23 Dec 2012 11:28:46 -0800 Subject: [PATCH] Fixes to avoid compiler warnings when building with MinG. Still won't build - see issue #21 --- display/win32.c | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/display/win32.c b/display/win32.c index 45c5e453..3eb26802 100644 --- a/display/win32.c +++ b/display/win32.c @@ -278,7 +278,7 @@ ws_init2(void) { } #ifdef THREADS -static volatile init_done; +static volatile int init_done; static DWORD msgthread_id; static DWORD WINAPI diff --git a/makefile b/makefile index a27f63a4..be69d984 100644 --- a/makefile +++ b/makefile @@ -729,7 +729,7 @@ ifeq ($(WIN32),) DISPLAY_OPT = endif else - DISPLAYL = ${DISPLAYD}/display.c $(DISPLAYD)/w32.c + DISPLAYL = ${DISPLAYD}/display.c $(DISPLAYD)/win32.c DISPLAY_OPT = -DUSE_DISPLAY endif