From: Mike Brady Date: Sun, 28 Oct 2018 14:20:22 +0000 (+0000) Subject: Remove a signed/unsigned comparison warning X-Git-Tag: 3.3RC0~190^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F762%2Fhead;p=thirdparty%2Fshairport-sync.git Remove a signed/unsigned comparison warning --- diff --git a/player.c b/player.c index a4b14bbb..436eeb0c 100644 --- a/player.c +++ b/player.c @@ -1136,7 +1136,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) { int64_t frame_gap = (lead_time * config.output_rate) >> 32; // debug(1,"%d frames needed.",frame_gap); while (frame_gap > 0) { - size_t fs = config.output_rate / 10; + ssize_t fs = config.output_rate / 10; if (fs > frame_gap) fs = frame_gap;