14 lines
570 B
Text
14 lines
570 B
Text
64bit time_t
|
|
|
|
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
|