summaryrefslogtreecommitdiff
path: root/src/audio.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-10-18 22:35:16 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-10-18 22:35:16 +0200
commitad3905c989d13b5a216643437d2152f8c0629bde (patch)
treead133a2416e612818fdc4f36b0ddf0fde4c4317e /src/audio.c
parentb441dc34dc8273ab9ad417a6746e96f944d32dcd (diff)
fix warnings on Mac OSX
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index 1d7c71f..954dd72 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -334,7 +334,7 @@ static void encode_rtp_send(struct audio *a, struct autx *tx,
*/
frame_size = (tx->is_g722 ? sampc/2 : sampc) / tx->ac->ch;
- tx->ts += frame_size;
+ tx->ts += (uint32_t)frame_size;
out:
tx->marker = false;