comparison dwtest.c @ 1110:404b639f096b

Minor typecast fixes for warnings reported by clang on Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 27 Jul 2011 00:37:34 +0000
parents cfe7d2b6bc16
children e24e5a13ff2c
comparison
equal deleted inserted replaced
1109:1c24949cf853 1110:404b639f096b
349 dw_color_foreground_set(DW_CLR_GREEN); 349 dw_color_foreground_set(DW_CLR_GREEN);
350 dw_color_background_set(DW_CLR_DARKRED); 350 dw_color_background_set(DW_CLR_DARKRED);
351 dw_draw_text(window, pixmap, 10, 10, "This should be aligned with the edges."); 351 dw_draw_text(window, pixmap, 10, 10, "This should be aligned with the edges.");
352 if(image) 352 if(image)
353 { 353 {
354 dw_pixmap_bitblt(window, pixmap, image_x, image_y, DW_PIXMAP_WIDTH(image), DW_PIXMAP_HEIGHT(image), 0, image, 0, 0); 354 dw_pixmap_bitblt(window, pixmap, image_x, image_y, (int)DW_PIXMAP_WIDTH(image), (int)DW_PIXMAP_HEIGHT(image), 0, image, 0, 0);
355 } 355 }
356 356
357 /* If we aren't drawing direct do a bitblt */ 357 /* If we aren't drawing direct do a bitblt */
358 if(!direct) 358 if(!direct)
359 { 359 {