summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-10-06 16:02:47 -0600
committerBrian Paul <[email protected]>2009-10-06 16:02:47 -0600
commit9c778a90ea24f25437b68bb67856c81add61e261 (patch)
tree3a0c6b4773605433f5faf027c1d65f8550e0357b
parent017fae04ec75818bb6ace3a0dcda67d29947a1bd (diff)
progs/tests: fix MSVC build.
-rw-r--r--progs/tests/copypixrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/copypixrate.c b/progs/tests/copypixrate.c
index aa4acfc18b5..f63d59f3cec 100644
--- a/progs/tests/copypixrate.c
+++ b/progs/tests/copypixrate.c
@@ -69,7 +69,7 @@ DrawTestImage(void)
static int
Rand(int max)
{
- return ((int) random()) % max;
+ return ((int) rand()) % max;
}