summaryrefslogtreecommitdiff
path: root/test/scale-source-surface-paint.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/scale-source-surface-paint.c
parent0f4beab5070ce6f7129ca52953eb002ac7f40b93 (diff)
downloadcairo-7e4465819b7f0da3f16a18c6ffcf2b8f7a9ee04a.tar.gz
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/scale-source-surface-paint.c')
-rw-r--r--test/scale-source-surface-paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scale-source-surface-paint.c b/test/scale-source-surface-paint.c
index 7b1cc3824..9e36ea66a 100644
--- a/test/scale-source-surface-paint.c
+++ b/test/scale-source-surface-paint.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,