diff options
author | Carl Worth <cworth@cworth.org> | 2005-09-01 02:14:31 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-09-01 02:14:31 +0000 |
commit | 7e4465819b7f0da3f16a18c6ffcf2b8f7a9ee04a (patch) | |
tree | 5d9b1b2da0df99c9a91558785a66fbbb2a5902d9 /test/filter-nearest-offset.c | |
parent | 0f4beab5070ce6f7129ca52953eb002ac7f40b93 (diff) | |
download | cairo-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/filter-nearest-offset.c')
-rw-r--r-- | test/filter-nearest-offset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filter-nearest-offset.c b/test/filter-nearest-offset.c index e5657bbcf..7718da5d6 100644 --- a/test/filter-nearest-offset.c +++ b/test/filter-nearest-offset.c @@ -44,7 +44,7 @@ static cairo_test_status_t draw (cairo_t *cr, int width, int height) { cairo_surface_t *surface; - unsigned long data[STAMP_WIDTH * STAMP_HEIGHT] = { + uint32_t data[STAMP_WIDTH * STAMP_HEIGHT] = { 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, 0xffffffff, 0xffffffff, 0xffff0000, 0xffff0000, |