summaryrefslogtreecommitdiff
path: root/test/set-source.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/set-source.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/set-source.c')
-rw-r--r--test/set-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/set-source.c b/test/set-source.c
index 568935df6..08e9e3e2e 100644
--- a/test/set-source.c
+++ b/test/set-source.c
@@ -37,7 +37,7 @@ draw (cairo_t *cr, int width, int height)
int i;
/* This color value might need to change in the future when we fix
* the rounding in cairo-color.c */
- unsigned long color = 0x7f19334C;
+ uint32_t color = 0x7f19334C;
cairo_surface_t *surface;
cairo_pattern_t *pattern;