blob: b6688ab3f36a9a9af29f7499244f4e5262dd5240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ai,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $
--- fastrand.cpp.orig Mon May 26 04:27:54 1997
+++ fastrand.cpp Tue Dec 11 09:56:52 2001
@@ -14,7 +14,7 @@
printf("SeedRandom(%lu)\n", Seed);
#endif
if ( ! Seed ) {
- gettimeofday(&tv, (void *)0);
+ gettimeofday(&tv, NULL);
randomSeed = ((tv.tv_usec<<16)|((tv.tv_sec^tv.tv_usec)&0xFFFF));
return;
}
|