summaryrefslogtreecommitdiff
path: root/test/move-to-show-surface.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/move-to-show-surface.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/move-to-show-surface.c')
-rw-r--r--test/move-to-show-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/move-to-show-surface.c b/test/move-to-show-surface.c
index c5cc1ae59..74bf51b7b 100644
--- a/test/move-to-show-surface.c
+++ b/test/move-to-show-surface.c
@@ -55,7 +55,7 @@ static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
cairo_surface_t *surface;
- unsigned long colors[4] = {
+ uint32_t colors[4] = {
0xffffffff, 0xffff0000,
0xff00ff00, 0xff0000ff
};