From 7e4465819b7f0da3f16a18c6ffcf2b8f7a9ee04a Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 1 Sep 2005 02:14:31 +0000 Subject: Add includes to get sized-integer types such as uint32_t. Fix declaration of image data array to be uint32_t rather than unsigned long. Fixes four out of the remaining five failures in bug #4245. --- test/paint-with-alpha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/paint-with-alpha.c') diff --git a/test/paint-with-alpha.c b/test/paint-with-alpha.c index f4734afd..552c062f 100644 --- a/test/paint-with-alpha.c +++ b/test/paint-with-alpha.c @@ -35,7 +35,7 @@ static cairo_test_status_t draw (cairo_t *cr, int width, int height) { cairo_surface_t *surface; - unsigned long data[16] = { + uint32_t data[16] = { 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, -- cgit v1.2.3