Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dwtest.c Tue Jul 26 20:35:05 2011 +0000 +++ b/dwtest.c Wed Jul 27 00:37:34 2011 +0000 @@ -351,7 +351,7 @@ dw_draw_text(window, pixmap, 10, 10, "This should be aligned with the edges."); if(image) { - dw_pixmap_bitblt(window, pixmap, image_x, image_y, DW_PIXMAP_WIDTH(image), DW_PIXMAP_HEIGHT(image), 0, image, 0, 0); + dw_pixmap_bitblt(window, pixmap, image_x, image_y, (int)DW_PIXMAP_WIDTH(image), (int)DW_PIXMAP_HEIGHT(image), 0, image, 0, 0); } /* If we aren't drawing direct do a bitblt */