From 980e36a0f0eaaab015de74f3b4d8b9a7e806eaf2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 13 Feb 2015 16:19:54 -0500 Subject: Fixed all real warnings. I need to figure out how to remove -Wparentheses suggestions from qo. --- wintable/main.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wintable/main.h') diff --git a/wintable/main.h b/wintable/main.h index ff86c35..235467b 100644 --- a/wintable/main.h +++ b/wintable/main.h @@ -1,5 +1,8 @@ // 7 january 2015 +// TODO remove +#include + // TODO // - should tablePanic be CALLBACK or some other equivalent macro? and definitely export initTable somehow, but which alias macro to use? // - make panic messages grammatically correct ("Table error: adding...") @@ -185,7 +188,7 @@ printf("destroy\n"); static void deftablePanic(const char *msg, DWORD lastError) { - fprintf(stderr, "Table error: %s (last error %d)\n", msg, lastError); + fprintf(stderr, "Table error: %s (last error %I32u)\n", msg, lastError); fprintf(stderr, "This is the default Table error handler function; programs that use Table should provide their own instead.\nThe program will now break into the debugger.\n"); DebugBreak(); } -- cgit v1.2.3