$NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $

--- plpftp/ftp.cc.orig	Mon Jan 17 11:49:41 2000
+++ plpftp/ftp.cc
@@ -335,7 +335,7 @@
 				// never used to do this
 				char dateBuff[100];
                                	struct tm *t;
-                               	t = localtime(&time);
+                               	t = localtime((time_t *)&time);
                                	strftime(dateBuff, 100, "%c", t);
                                	cout << a.opAttr(attr);
                                	cout << " " << dec << setw(10) << setfill(' ') << size;
@@ -365,7 +365,7 @@
 			else {
 				char dateBuff[100];
 				struct tm *t;
-				t = localtime(&mtime);
+				t = localtime((time_t *)&mtime);
 				strftime(dateBuff, 100, "%c %Z", t);
 				cout << dateBuff << endl;
 			}
@@ -457,7 +457,7 @@
 					long attr = s.getDWord(8);
 					char dateBuff[100];
                                 	struct tm *t;
-                                	t = localtime(&date);
+                                	t = localtime((time_t *)&date);
                                 	strftime(dateBuff, 100, "%c", t);
                                 	cout << a.opAttr(attr);
                                 	cout << " " << dec << setw(10) << setfill(' ') << size;
