diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-05-05 10:17:08 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-05-17 00:29:55 +0200 |
commit | 0f6a4d45886d64b244d57403609f0377b58cc7fb (patch) | |
tree | 47510fd54efee597aea6aff5a5cb3f52af1f38b1 | |
parent | 838c2b593ec5ebbbf82de5b7790f5b68fd86bbc1 (diff) |
test: Fix compilation on win32
MSVC complains about uint32_t being used as an expression:
composite.c(902) : error C2275: 'uint32_t' : illegal use of this type
as an expression
-rw-r--r-- | test/composite.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/composite.c b/test/composite.c index 9a001e51..edea9a96 100644 --- a/test/composite.c +++ b/test/composite.c @@ -877,7 +877,7 @@ main (int argc, char **argv) { #define N_TESTS (8 * 1024 * 1024) int result = 0; - uint32_t i; + uint32_t i, seed; if (argc > 1) { @@ -899,8 +899,6 @@ main (int argc, char **argv) } } - uint32_t seed; - if (getenv ("PIXMAN_RANDOMIZE_TESTS")) seed = get_random_seed(); else |