projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
838c2b5
)
test: Fix compilation on win32
author
Andrea Canciani
<ranma42@gmail.com>
Thu, 5 May 2011 08:17:08 +0000
(10:17 +0200)
committer
Andrea Canciani
<ranma42@gmail.com>
Mon, 16 May 2011 22:29:55 +0000
(
00:29
+0200)
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
test/composite.c
patch
|
blob
|
history
diff --git
a/test/composite.c
b/test/composite.c
index
9a001e5
..
edea9a9
100644
(file)
--- 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