pkgsrc/games/maelstrom-x11/patches/patch-ai

13 lines
369 B
Text

$NetBSD: patch-ai,v 1.2 2005/06/07 04:23:43 minskim 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, 0);
randomSeed = ((tv.tv_usec<<16)|((tv.tv_sec^tv.tv_usec)&0xFFFF));
return;
}