summaryrefslogtreecommitdiff
path: root/test/create-for-stream.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-08-08 01:16:49 -0700
committerCarl Worth <cworth@cworth.org>2006-08-08 01:16:49 -0700
commitc3b912d7db34c5881cf14725b7d29266cbf24877 (patch)
tree84188088e73c7caf74ffd2f80bb032739eeb491c /test/create-for-stream.c
parentc7d11ad2b4778cb7399eae990a410cb72568af11 (diff)
downloadcairo-c3b912d7db34c5881cf14725b7d29266cbf24877.tar.gz
Eliminate most compiler warnings from the test suite
Diffstat (limited to 'test/create-for-stream.c')
-rw-r--r--test/create-for-stream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/create-for-stream.c b/test/create-for-stream.c
index b2137cec6..cbe820048 100644
--- a/test/create-for-stream.c
+++ b/test/create-for-stream.c
@@ -68,6 +68,8 @@ draw (cairo_t *cr, int width, int height)
cairo_fill (cr);
cairo_show_page (cr);
+
+ return CAIRO_TEST_SUCCESS;
}
static void
@@ -84,7 +86,7 @@ draw_to (cairo_surface_t *surface)
typedef struct _write_closure {
char buffer[MAX_OUTPUT_SIZE];
- int index;
+ size_t index;
cairo_test_status_t status;
} write_closure_t;