diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-12 11:05:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-12 11:05:57 +0100 |
commit | 459b8ae660eb49a87ffb9da31f305718a2b4f11f (patch) | |
tree | 62331dc5a820c19f20cfd67e8bf1df1e53c1d00e /test/api-special-cases.c | |
parent | d56b1718025f8b2354b5b1eb99af41df70a6c590 (diff) | |
download | cairo-459b8ae660eb49a87ffb9da31f305718a2b4f11f.tar.gz |
Make distcheck happy.
Diffstat (limited to 'test/api-special-cases.c')
-rw-r--r-- | test/api-special-cases.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/api-special-cases.c b/test/api-special-cases.c index 42e3bd875..63eb5d0fb 100644 --- a/test/api-special-cases.c +++ b/test/api-special-cases.c @@ -206,7 +206,8 @@ test_cairo_surface_set_mime_data (cairo_surface_t *surface) status = cairo_surface_set_mime_data (surface, mimetype, - (const unsigned char *) data, strlen (data), + (const unsigned char *) data, + strlen (data), NULL, NULL); return status ? CAIRO_TEST_SUCCESS : CAIRO_TEST_ERROR; } @@ -216,7 +217,7 @@ test_cairo_surface_get_mime_data (cairo_surface_t *surface) { const char *mimetype = "text/x-uri"; const unsigned char *data; - unsigned int length; + unsigned long length; cairo_surface_get_mime_data (surface, mimetype, &data, &length); return data == NULL && length == 0 ? CAIRO_TEST_SUCCESS : CAIRO_TEST_ERROR; |