$OpenBSD: patch-osscan2_cc,v 1.1 2014/02/10 17:43:15 sthen Exp $

Format changes for 64-bit time_t, should go upstream

--- osscan2.cc.orig	Mon Jul 29 00:08:48 2013
+++ osscan2.cc	Thu Jan  9 11:58:50 2014
@@ -2460,8 +2460,8 @@ void HostOsScan::makeTSeqFP(HostOsScanStats *hss) {
     if (lastboot != 0.0 && (hss->seq_send_times[0].tv_sec - lastboot > 63072000)) {
       /* Up 2 years?  Perhaps, but they're probably lying. */
       if (o.debugging) {
-        log_write(LOG_STDOUT, "Ignoring claimed %s uptime of %lu days\n",
-        hss->target->targetipstr(), (hss->seq_send_times[0].tv_sec - hss->si.lastboot) / 86400);
+        log_write(LOG_STDOUT, "Ignoring claimed %s uptime of %lld days\n",
+        hss->target->targetipstr(), (long long) ((hss->seq_send_times[0].tv_sec - hss->si.lastboot) / 86400));
       }
       lastboot = 0;
     }
