summaryrefslogtreecommitdiff
path: root/test/operator-clear.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2006-08-13 04:47:11 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-08-13 04:47:11 -0400
commita06af40c35ba8b5d9a0688cefc7eb8bd2e31e92d (patch)
tree3620cc600c96098b2c434cf8ff02b10c84238eee /test/operator-clear.c
parent58963a2bf962559d579a84edde9af13d9f51d014 (diff)
downloadcairo-a06af40c35ba8b5d9a0688cefc7eb8bd2e31e92d.tar.gz
[test] Fix warnings in tests on 64-bit systems
Cast argiments from size_t to int. size_t is 64-bit on 64-bit systems, which causes a warning. The actual data should fit 32 bit comfortably.
Diffstat (limited to 'test/operator-clear.c')
-rw-r--r--test/operator-clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/operator-clear.c b/test/operator-clear.c
index 74d767bb3..f1e1aaa63 100644
--- a/test/operator-clear.c
+++ b/test/operator-clear.c
@@ -189,14 +189,14 @@ draw (cairo_t *cr, int width, int height)
pattern_funcs[i] (cr, x, y);
draw_funcs[j] (cr, x, y);
if (cairo_status (cr))
- cairo_test_log ("%d %d HERE!\n", i, j);
+ cairo_test_log ("%d %d HERE!\n", (int)i, (int)j);
cairo_restore (cr);
}
}
if (cairo_status (cr) != CAIRO_STATUS_SUCCESS)
- cairo_test_log ("%d %d .HERE!\n", i, j);
+ cairo_test_log ("%d %d .HERE!\n", (int)i, (int)j);
return CAIRO_TEST_SUCCESS;
}