We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e5c54b + f1a986c commit 689f552Copy full SHA for 689f552
compat/compat.h
@@ -20,7 +20,7 @@
20
21
#else // other platforms
22
23
-# include <endian.h>
+# include <byteswap.h>
24
25
#endif
26
readsbrrd.c
@@ -587,7 +587,7 @@ int main(int argc, char** argv) {
587
// Run this until we get a termination signal.
588
while (!readsbrrd_exit) {
589
clock_gettime(CLOCK_REALTIME, &ts);
590
- ts.tv_sec += (__time_t) (rrd.step * 1.5);
+ ts.tv_sec += (time_t) rrd.step * 1.5;
591
r = sem_getvalue(stats_semptr, &semcnt);
592
// Avoid frequent updates when more than one event is queued in semaphore.
593
// Update only one very last event.
0 commit comments