Fix warning.
authorCarl Hetherington <cth@carlh.net>
Tue, 22 Nov 2016 10:19:34 +0000 (10:19 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 22 Nov 2016 10:19:34 +0000 (10:19 +0000)
src/lib/video_decoder.cc

index 383af102d9965e230fa2595070e8086e47fc9061..1cde53e8140584b145743c69a26d0c4220fe251d 100644 (file)
@@ -343,7 +343,7 @@ VideoDecoder::give (shared_ptr<const ImageProxy> image, Frame frame)
                return;
        }
 
-       int const max_decoded_size = 96;
+       unsigned int const max_decoded_size = 96;
 
        /* If _decoded is already `full' there is no point in adding anything more to it,
           as the new stuff will just be removed again.