From 5a13a7ec04bbb7f53ee755ee253d0fdcfe3dfc2b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 18 Dec 2001 17:48:08 +0000 Subject: [PATCH] (main): Use time_t, not long, to avoid a compiler warning. --- lib-src/yow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/yow.c b/lib-src/yow.c index e141b9141e2..a45623eeb41 100644 --- a/lib-src/yow.c +++ b/lib-src/yow.c @@ -81,7 +81,7 @@ main (argc, argv) } /* initialize random seed */ - srand((int) (getpid() + time((long *) 0))); + srand((int) (getpid() + time((time_t *) 0))); setup_yow(fp); yow(fp); -- 2.39.2