13 lines
491 B
Plaintext
13 lines
491 B
Plaintext
|
$OpenBSD: patch-psys_src_newasmlib_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||
|
--- psys/src/newasmlib.c.orig 2003-03-12 15:47:35.000000000 -0700
|
||
|
+++ psys/src/newasmlib.c 2003-10-25 00:25:01.000000000 -0600
|
||
|
@@ -1815,7 +1815,7 @@ register long i, w;
|
||
|
Char *strdate(res, opts) /* ignore opts for now */
|
||
|
Char *res, *opts;
|
||
|
{
|
||
|
- time_t t = time((long *)0);
|
||
|
+ time_t t = time((time_t *)0);
|
||
|
strcpy(res, ctime(&t));
|
||
|
res[strlen(res)-1] = 0; /* eat the \n */
|
||
|
return res;
|