diff options
author | TORRI Vincent <torri@doursse.(none)> | 2006-04-20 09:59:43 +0200 |
---|---|---|
committer | TORRI Vincent <torri@doursse.(none)> | 2006-04-20 09:59:43 +0200 |
commit | 77d9b5e3ef7f9d5fc5038056e05b5a1be1df2c33 (patch) | |
tree | 969a4d39bdcc9ae415fe560bc10552223ae5ea3a | |
parent | 01f928e42bc4a086ee7028052b169aa02fe8a0ea (diff) |
fix some warnings
-rw-r--r-- | image/test_xcb_image.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/image/test_xcb_image.c b/image/test_xcb_image.c index dbe9576..36a2c7d 100644 --- a/image/test_xcb_image.c +++ b/image/test_xcb_image.c @@ -45,17 +45,17 @@ reflect_window (XCBConnection *c, printf (" * bitmap order....: %d\n", image->bitmap_format_bit_order); printf (" * bitmap pad......: %d\n", image->bitmap_format_scanline_pad); printf (" * depth...........: %d\n", image->depth); - printf (" * bytes/line......: %ld\n", image->bytes_per_line); + printf (" * bytes/line......: %d\n", image->bytes_per_line); printf (" * bits/pixel......: %d\n", image->bits_per_pixel); - printf ("bpl %ld %d\n", image->bytes_per_line, image->height); + printf ("bpl %d %d\n", image->bytes_per_line, image->height); for (j = 0 ; j < image->height ; j++) { for (i = 0 ; i < image->width ; i++) { pixel1 = XCBImageGetPixel (image, i, j); - printf ("%6ld ", pixel1); + printf ("%6d ", pixel1); } printf ("\n"); } @@ -83,7 +83,7 @@ reflect_window (XCBConnection *c, for (i = 0 ; i < image->width ; i++) { pixel1 = XCBImageGetPixel (image, i, j); - printf ("%6ld ", pixel1); + printf ("%6d ", pixel1); } printf ("\n"); } @@ -99,7 +99,7 @@ reflect_window (XCBConnection *c, for (i = 0 ; i < image->width ; i++) { pixel1 = XCBImageGetPixel (image, i, j); - printf ("%6ld ", pixel1); + printf ("%6d ", pixel1); } printf ("\n"); } |