summaryrefslogtreecommitdiff
path: root/test/paint-with-alpha.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-09-01 02:14:31 +0000
committerCarl Worth <cworth@cworth.org>2005-09-01 02:14:31 +0000
commit7e4465819b7f0da3f16a18c6ffcf2b8f7a9ee04a (patch)
tree5d9b1b2da0df99c9a91558785a66fbbb2a5902d9 /test/paint-with-alpha.c
parent0f4beab5070ce6f7129ca52953eb002ac7f40b93 (diff)
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.
Diffstat (limited to 'test/paint-with-alpha.c')
-rw-r--r--test/paint-with-alpha.c2
1 files changed, 1 insertions, 1 deletions
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,