openbsd-ports/net/xarchie/patches/patch-query_c
2003-12-31 17:49:34 +00:00

15 lines
493 B
Plaintext

$OpenBSD: patch-query_c,v 1.1 2003/12/31 17:49:34 espie Exp $
--- query.c.orig 1993-04-22 21:42:44.000000000 +0200
+++ query.c 2003-12-31 13:08:13.000000000 +0100
@@ -369,8 +369,8 @@ char **modesp,**archie_datep,**gt_datep;
struct tm *presenttime;
long now;
- (void)time(&now);
- presenttime = localtime(&now);
+ (void)time((time_t *)&now);
+ presenttime = localtime((time_t *)&now);
if (strcmp(vl->type,"DIRECTORY") == 0) {
*typep = DB_DIRECTORY;
} else {