From 882cdfc123d89a393d237e130a6f8e213c91dc40 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Jun 2009 00:17:26 +0200 Subject: rtclock: fix type of PA_TIMEVAL_RTCLOCK --- src/pulsecore/core-rtclock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/core-rtclock.h') diff --git a/src/pulsecore/core-rtclock.h b/src/pulsecore/core-rtclock.h index 3c90068b..9f5ae2dd 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); -- cgit