# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1049106291 0 # Node ID a3dee031d27ee7047038a5c1b788f8c68fdbfe1e # Parent ff8f23594b15997c9b5060f7c11e2cb4389fac16 Cleaned up unix warnings. diff -r ff8f23594b15 -r a3dee031d27e dwtest.c --- a/dwtest.c Mon Mar 31 10:20:08 2003 +0000 +++ b/dwtest.c Mon Mar 31 10:24:51 2003 +0000 @@ -351,7 +351,7 @@ char buf[200]; HWND statline = (HWND)data; - sprintf(buf,"DW_SIGNAL_ITEM_ENTER: Window: %x Text: %s Data:", window, text, data ); + sprintf(buf,"DW_SIGNAL_ITEM_ENTER: Window: %x Text: %s Data:", (unsigned int)window, text, data ); dw_window_set_text( statline, buf); return 0; } @@ -361,7 +361,7 @@ char buf[200]; HWND statline = (HWND)data; - sprintf(buf,"DW_SIGNAL_ITEM_CONTEXT: Window: %x Text: %s x: %d y: %d Itemdata: %x", window, text, x, y, itemdata ); + sprintf(buf,"DW_SIGNAL_ITEM_CONTEXT: Window: %x Text: %s x: %d y: %d Itemdata: %x", (unsigned int)window, text, x, y, (unsigned int)itemdata ); dw_window_set_text( statline, buf); return 0; } @@ -371,7 +371,7 @@ char buf[200]; HWND statline = (HWND)data; - sprintf(buf,"DW_SIGNAL_LIST_SELECT: Window: %d Item: %d", window, item ); + sprintf(buf,"DW_SIGNAL_LIST_SELECT: Window: %d Item: %d", (unsigned int)window, item ); dw_window_set_text( statline, buf); return 0; } @@ -381,7 +381,7 @@ char buf[200]; HWND statline = (HWND)data; - sprintf(buf,"DW_SIGNAL_ITEM_SELECT: Window: %x Item: %x Text: %s Itemdata: %x", window, item, text, itemdata ); + sprintf(buf,"DW_SIGNAL_ITEM_SELECT: Window: %x Item: %x Text: %s Itemdata: %x", (unsigned int)window, (unsigned int)item, text, (unsigned int)itemdata ); dw_window_set_text( statline, buf); return 0; }