diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-13 16:19:54 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-13 16:19:54 -0500 |
| commit | 980e36a0f0eaaab015de74f3b4d8b9a7e806eaf2 (patch) | |
| tree | 695145ba182dce180b5bd71aeab6f9bf25c042af /wintable/main.h | |
| parent | 4b9e2fb8d16fb0bd05ca821f2f4cb6a60cd7e0d3 (diff) | |
Fixed all real warnings. I need to figure out how to remove -Wparentheses suggestions from qo.
Diffstat (limited to 'wintable/main.h')
| -rw-r--r-- | wintable/main.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <stdio.h> + // 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(); } |
