summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-10-06 16:02:47 -0600
committerVinson Lee <[email protected]>2009-12-03 15:11:25 -0800
commit5a25adb646faa970dacec0dbfa2e2bd905e87eba (patch)
treed241dcb93cc1c22b35f98dad9bd6a4b578812f99 /progs
parent3910e88ebf636cb34ae75bc4a7916fc8c2f1a9e1 (diff)
progs/tests: fix MSVC build.
(cherry picked from commit 9c778a90ea24f25437b68bb67856c81add61e261)
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 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;
}