summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-23 00:17:26 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-23 00:17:26 +0200
commit882cdfc123d89a393d237e130a6f8e213c91dc40 (patch)
treea22983c59ae4a292e7b03e54e7f85f9e9c6bfe43
parent9217b47b1920c0c88be6d1817f0479074b6328b8 (diff)
rtclock: fix type of PA_TIMEVAL_RTCLOCK
-rw-r--r--src/pulsecore/core-rtclock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/core-rtclock.h b/src/pulsecore/core-rtclock.h
index 3c90068bd..9f5ae2dd2 100644
--- a/src/pulsecore/core-rtclock.h
+++ b/src/pulsecore/core-rtclock.h
@@ -39,7 +39,7 @@ void pa_rtclock_hrtimer_enable(void);
#define PA_HRTIMER_THRESHOLD_USEC 10
/* bit to set in tv.tv_usec to mark that the timeval is in monotonic time */
-#define PA_TIMEVAL_RTCLOCK (1 << 30)
+#define PA_TIMEVAL_RTCLOCK ((time_t) (1LU << 30))
struct timeval* pa_rtclock_from_wallclock(struct timeval *tv);