summaryrefslogtreecommitdiff
path: root/src/util/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/thread')
-rw-r--r--src/util/thread/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/thread/thread.h b/src/util/thread/thread.h
index eb63b8d..8860d2d 100644
--- a/src/util/thread/thread.h
+++ b/src/util/thread/thread.h
@@ -35,7 +35,7 @@ struct aki_cond {
typedef f64 aki_os_tstamp;
-#define AKI_TS_FROM_USEC(usec) (usec * 1e-6)
+#define AKI_TS_FROM_USEC(usec) ((usec) * 1e-6)
#ifndef _WIN32
#define AKI_THREADCALL