$OpenBSD: patch-osscan2_cc,v 1.3 2016/01/07 13:23:47 giovanni Exp $

Format changes for 64-bit time_t, should go upstream

--- osscan2.cc.orig	Tue Nov 10 05:26:26 2015
+++ osscan2.cc	Tue Dec 29 10:47:48 2015
@@ -2582,8 +2582,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;
     }
