comparison dwtest.c @ 2241:6f28c68642f5

Fix a couple gcc warnings from that last commit.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 19 Jan 2021 00:09:08 +0000
parents 7f6939857cca
children 703023e1a644
comparison
equal deleted inserted replaced
2240:7f6939857cca 2241:6f28c68642f5
1267 } 1267 }
1268 1268
1269 int DWSIGNAL mle_color_cb(HWND hwnd, int pos, void *data) 1269 int DWSIGNAL mle_color_cb(HWND hwnd, int pos, void *data)
1270 { 1270 {
1271 HWND hbox = (HWND)data; 1271 HWND hbox = (HWND)data;
1272 HWND mlefore = dw_window_get_data(hbox, "mlefore"); 1272 HWND mlefore = (HWND)dw_window_get_data(hbox, "mlefore");
1273 HWND mleback = dw_window_get_data(hbox, "mleback"); 1273 HWND mleback = (HWND)dw_window_get_data(hbox, "mleback");
1274 char colortext[101] = {0}; 1274 char colortext[101] = {0};
1275 ULONG fore, back; 1275 ULONG fore = DW_CLR_DEFAULT, back = DW_CLR_DEFAULT;
1276 1276
1277 if(hwnd == mlefore) 1277 if(hwnd == mlefore)
1278 { 1278 {
1279 dw_listbox_get_text(mlefore, pos, colortext, 100); 1279 dw_listbox_get_text(mlefore, pos, colortext, 100);
1280 fore = combobox_color(colortext); 1280 fore = combobox_color(colortext);