progs/tests: fix MSVC build.

(cherry picked from commit 9c778a90ea)
This commit is contained in:
Vinson Lee
2009-10-06 16:02:47 -06:00
parent 3910e88ebf
commit 5a25adb646

View File

@@ -69,7 +69,7 @@ DrawTestImage(void)
static int
Rand(int max)
{
return ((int) random()) % max;
return ((int) rand()) % max;
}