summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-10-06 16:02:47 -0600
committerBrian Paul <brianp@vmware.com>2009-10-06 16:02:47 -0600
commit9c778a90ea24f25437b68bb67856c81add61e261 (patch)
tree3a0c6b4773605433f5faf027c1d65f8550e0357b /progs
parent017fae04ec75818bb6ace3a0dcda67d29947a1bd (diff)
progs/tests: fix MSVC build.
Diffstat (limited to 'progs')
-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 aa4acfc18b..f63d59f3ce 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;
}