[polypaudio-commits] r736 - in /trunk/src/modules/rtp: module-rtp-recv.c sdp.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Apr 18 05:46:04 PDT 2006
Author: ossman
Date: Tue Apr 18 14:46:03 2006
New Revision: 736
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=736&root=polypaudio&view=rev
Log:
C99 requires explicit marking of integer literals' size.
Modified:
trunk/src/modules/rtp/module-rtp-recv.c
trunk/src/modules/rtp/sdp.c
Modified: trunk/src/modules/rtp/module-rtp-recv.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/rtp/module-rtp-recv.c?rev=736&root=polypaudio&r1=735&r2=736&view=diff
==============================================================================
--- trunk/src/modules/rtp/module-rtp-recv.c (original)
+++ trunk/src/modules/rtp/module-rtp-recv.c Tue Apr 18 14:46:03 2006
@@ -172,7 +172,7 @@
/* 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;
Modified: trunk/src/modules/rtp/sdp.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/rtp/sdp.c?rev=736&root=polypaudio&r1=735&r2=736&view=diff
==============================================================================
--- trunk/src/modules/rtp/sdp.c (original)
+++ trunk/src/modules/rtp/sdp.c Tue Apr 18 14:46:03 2006
@@ -55,7 +55,7 @@
if (!(u = getenv("USERNAME")))
u = "-";
- ntp = time(NULL) + 2208988800;
+ ntp = time(NULL) + 2208988800U;
a = inet_ntop(af, src, buf_src, sizeof(buf_src));
assert(a);
More information about the pulseaudio-commits
mailing list