]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Remove a signed/unsigned comparison warning 762/head
authorMike Brady <mikebrady@eircom.net>
Sun, 28 Oct 2018 14:20:22 +0000 (14:20 +0000)
committerMike Brady <mikebrady@eircom.net>
Sun, 28 Oct 2018 14:20:22 +0000 (14:20 +0000)
player.c

index a4b14bbb9f69a8b47cafc86d96c4fd06d3b24999..436eeb0c1f8cb3bd7bcf6c8d47964b0b500060ff 100644 (file)
--- 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;