]> code.delx.au - pulseaudio/commitdiff
rtclock: fix type of PA_TIMEVAL_RTCLOCK
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Jun 2009 22:17:26 +0000 (00:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 22 Jun 2009 22:17:26 +0000 (00:17 +0200)
src/pulsecore/core-rtclock.h

index 3c90068bd85d12d22f747e01a57f5d96e07ae44b..9f5ae2dd2426ef45d9bd03e06843ca210422faa5 100644 (file)
@@ -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);