mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
C99 requires explicit marking of integer literals' size.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@736 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
4482e6867d
commit
8b99a067a8
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue