summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/module-rtp-recv.c
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-04-18 12:46:03 +0000
committerPierre Ossman <ossman@cendio.se>2006-04-18 12:46:03 +0000
commit8b99a067a842c439c9b24a2cb62c68447dd8f21f (patch)
tree6375e25b269662ea2ead87626f7ef8a18d1f05f7 /src/modules/rtp/module-rtp-recv.c
parent4482e6867df82e889f48a9e7c22f2e0887b1028c (diff)
C99 requires explicit marking of integer literals' size.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@736 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/rtp/module-rtp-recv.c')
-rw-r--r--src/modules/rtp/module-rtp-recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rtp/module-rtp-recv.c b/src/modules/rtp/module-rtp-recv.c
index 525a8819..a714e162 100644
--- a/src/modules/rtp/module-rtp-recv.c
+++ b/src/modules/rtp/module-rtp-recv.c
@@ -172,7 +172,7 @@ static void rtp_event_cb(pa_mainloop_api *m, pa_io_event *e, int fd, pa_io_event
/* Check wheter there was a timestamp overflow */
k = (int64_t) s->rtp_context.timestamp - (int64_t) s->offset;
- j = (int64_t) 0x100000000 - (int64_t) s->offset + (int64_t) s->rtp_context.timestamp;
+ j = (int64_t) 0x100000000LL - (int64_t) s->offset + (int64_t) s->rtp_context.timestamp;
if ((k < 0 ? -k : k) < (j < 0 ? -j : j))
delta = k;