openbsd-ports/x11/xsnow/patches/patch-xsnow_c

13 lines
344 B
Plaintext

$OpenBSD: patch-xsnow_c,v 1.1 2004/07/07 14:38:23 naddy Exp $
--- xsnow.c.orig Sun Dec 16 00:44:47 2001
+++ xsnow.c Tue Jul 6 22:30:33 2004
@@ -531,7 +531,7 @@ char *av[];
#ifdef VMS
srand((int)time((unsigned long *)NULL));
#else
- srand((int)time((long *)NULL));
+ srand((int)time(NULL));
#endif
signal(SIGKILL, SigHandler);