Link Here
|
1 |
--- src/Toolbar.cc.orig 2015-05-11 11:54:54 UTC |
2 |
+++ src/Toolbar.cc |
3 |
@@ -44,7 +44,7 @@ long nextTimeout(int resolution) |
4 |
{ |
5 |
timeval now; |
6 |
gettimeofday(&now, 0); |
7 |
- return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l)) |
8 |
+ return (std::max(1000ll, ((((resolution - (now.tv_sec % resolution)) * 1000l)) |
9 |
- (now.tv_usec / 1000l)))); |
10 |
} |
11 |
|