openbsd-ports/net/pchar/patches/patch-main_cc

15 lines
615 B
Plaintext

$OpenBSD: patch-main_cc,v 1.1 2001/04/13 17:09:18 angelos Exp $
--- main.cc.orig Tue Apr 3 15:41:35 2001
+++ main.cc Fri Apr 13 13:07:23 2001
@@ -1412,8 +1412,8 @@ endreps:
fprintf(stdout, " End of path not reached after %d hops\n", pathLength);
}
- fprintf(stdout, " Start time: %s", ctime(&(timeFirst.tv_sec)));
- fprintf(stdout, " End time: %s", ctime(&(timeLast.tv_sec)));
+ fprintf(stdout, " Start time: %s", ctime((const time_t *) &(timeFirst.tv_sec)));
+ fprintf(stdout, " End time: %s", ctime((const time_t *) &(timeLast.tv_sec)));
}
//