Mesa (mesa_7_6_branch): progs/tests: fix MSVC build.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Dec 3 23:11:55 UTC 2009
Module: Mesa
Branch: mesa_7_6_branch
Commit: 5a25adb646faa970dacec0dbfa2e2bd905e87eba
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a25adb646faa970dacec0dbfa2e2bd905e87eba
Author: Vinson Lee <vlee at vmware.com>
Date: Tue Oct 6 16:02:47 2009 -0600
progs/tests: fix MSVC build.
(cherry picked from commit 9c778a90ea24f25437b68bb67856c81add61e261)
---
progs/tests/copypixrate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/progs/tests/copypixrate.c b/progs/tests/copypixrate.c
index aa4acfc..f63d59f 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;
}
More information about the mesa-commit
mailing list