changeset 42151:e9a441eabced

(main): Use time_t, not long, to avoid a compiler warning.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 18 Dec 2001 17:48:08 +0000
parents 35e8e47e376b
children e3ae5ef41293
files lib-src/yow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/yow.c	Tue Dec 18 17:46:16 2001 +0000
+++ b/lib-src/yow.c	Tue Dec 18 17:48:08 2001 +0000
@@ -81,7 +81,7 @@
   }
 
   /* initialize random seed */
-  srand((int) (getpid() + time((long *) 0)));
+  srand((int) (getpid() + time((time_t *) 0)));
 
   setup_yow(fp);
   yow(fp);