From: Vinson Lee Date: Tue, 6 Oct 2009 22:02:47 +0000 (-0600) Subject: progs/tests: fix MSVC build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a25adb646faa970dacec0dbfa2e2bd905e87eba;p=mesa.git progs/tests: fix MSVC build. (cherry picked from commit 9c778a90ea24f25437b68bb67856c81add61e261) --- 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; }