$OpenBSD: patch-src_yapp_cc,v 1.11 2021/08/07 10:32:11 sthen Exp $

Index: src/yapp.cc
--- src/yapp.cc.orig
+++ src/yapp.cc
@@ -281,7 +281,7 @@ int YApplication::mainLoop() {
             // This is irrelevant when using monotonic clocks:
             // if time travel to past, decrease the timeouts
             if (diff < zerotime()) {
-                warn("time warp of %ld.%06ld", long(diff.tv_sec), diff.tv_usec);
+                warn("time warp of %lld.%06ld", diff.tv_sec, diff.tv_usec);
                 decreaseTimeouts(diff);
             } else {
                 // no detection for time travel to the future
