diff options
author | Pavel Roskin <proski@gnu.org> | 2006-08-13 04:47:11 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-08-13 04:47:11 -0400 |
commit | a06af40c35ba8b5d9a0688cefc7eb8bd2e31e92d (patch) | |
tree | 3620cc600c96098b2c434cf8ff02b10c84238eee /test/unbounded-operator.c | |
parent | 58963a2bf962559d579a84edde9af13d9f51d014 (diff) | |
download | cairo-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/unbounded-operator.c')
-rw-r--r-- | test/unbounded-operator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unbounded-operator.c b/test/unbounded-operator.c index 5e01acd19..22ef9a0eb 100644 --- a/test/unbounded-operator.c +++ b/test/unbounded-operator.c @@ -176,14 +176,14 @@ draw (cairo_t *cr, int width, int height) 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; } |