OSDN Git Service

progs/tests: fix MSVC build.
authorVinson Lee <vlee@vmware.com>
Tue, 6 Oct 2009 22:02:47 +0000 (16:02 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Oct 2009 22:02:47 +0000 (16:02 -0600)
progs/tests/copypixrate.c

index aa4acfc..f63d59f 100644 (file)
@@ -69,7 +69,7 @@ DrawTestImage(void)
 static int
 Rand(int max)
 {
-   return ((int) random()) % max;
+   return ((int) rand()) % max;
 }