aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/osx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/osx.c')
-rw-r--r--src/gos/osx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/osx.c b/src/gos/osx.c
index 3692fe5e..a5560b4e 100644
--- a/src/gos/osx.c
+++ b/src/gos/osx.c
@@ -149,7 +149,7 @@ bool_t gfxSemWait(gfxSem *pSem, delaytime_t ms) {
struct timeval now;
struct timespec tm;
- gettimeofday(&now, NULL);
+ gettimeofday(&now, 0);
tm.tv_sec = now.tv_sec + ms / 1000;
tm.tv_nsec = (now.tv_usec + ms % 1000) * 1000;
while (!pSem->cnt) {