freebsd-ports/dns/totd/files/patch-totd.c
Emanuel Haupt 521887caca - Fix build on -CURRENT. GCC raises a warning at totd.c:507; tv_sec is a
time_t, not a long
- Respect CC (self)

PR:		95148
Submitted by:	Ed Schouten <ed@fxq.nl>
2006-04-12 13:28:00 +00:00

11 lines
258 B
C

--- totd.c.orig Wed Feb 2 12:10:31 2005
+++ totd.c Wed Apr 12 14:56:16 2006
@@ -504,7 +504,7 @@
tvp = &tv_out;
if (T.debug > 2)
syslog (LOG_DEBUG, "next timeout after %ld s.",
- tv_out.tv_sec);
+ (long)tv_out.tv_sec);
}
}