openbsd-ports/x11/icewm/patches/patch-src_yapp_cc
2022-03-11 20:15:18 +00:00

13 lines
556 B
Plaintext

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