summaryrefslogtreecommitdiffstats
path: root/src/shared/timing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/timing.h')
-rw-r--r--src/shared/timing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/timing.h b/src/shared/timing.h
index f3d8802..f23bfeb 100644
--- a/src/shared/timing.h
+++ b/src/shared/timing.h
@@ -22,7 +22,7 @@ extern struct timespec basetime;
/**
* Assign src to dst while adding secs seconds.
*/
-#define timing_set(dst,src,secs) do { (dst)->tv_sec = (src)->tv_sec + secs; (dst)->tv_nsec = (src)->tv_nsec; } while (0)
+#define timing_set(dst,src,secs) do { (dst)->tv_sec = (src)->tv_sec + (secs); (dst)->tv_nsec = (src)->tv_nsec; } while (0)
/**
* Define variable now, initialize to timing_get.