summaryrefslogtreecommitdiff
path: root/test/scaling-test.c
diff options
context:
space:
mode:
authorRolland Dudemaine <rolland@ghs.com>2011-01-25 14:14:57 +0200
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>2011-01-26 15:05:18 +0200
commit32e556df33b3cd3b31de8184f144b3065206406b (patch)
treefa345b7859d538e248d72e4c56b5c19e224b3930 /test/scaling-test.c
parentb61ec0a6862ba101fff0afa082fb7490a0c44785 (diff)
test: Use the right enum types instead of int to fix warnings
Green Hills Software MULTI compiler was producing a number of warnings due to incorrect uses of int instead of the correct corresponding pixman_*_t type.
Diffstat (limited to 'test/scaling-test.c')
-rw-r--r--test/scaling-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scaling-test.c b/test/scaling-test.c
index b90584b..e91df32 100644
--- a/test/scaling-test.c
+++ b/test/scaling-test.c
@@ -40,9 +40,9 @@ test_composite (int testnum,
int w, h;
pixman_fixed_t scale_x = 65536, scale_y = 65536;
pixman_fixed_t translate_x = 0, translate_y = 0;
- int op;
- int repeat = 0;
- int src_fmt, dst_fmt;
+ pixman_op_t op;
+ pixman_repeat_t repeat = PIXMAN_REPEAT_NONE;
+ pixman_format_code_t src_fmt, dst_fmt;
uint32_t * srcbuf;
uint32_t * dstbuf;
uint32_t crc32;