diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 09d22beef6..3ba996157b 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -428,7 +428,7 @@ static float wv_get_value_float(WavpackFrameContext *s, uint32_t *crc, int S) uint32_t u; } value; - int sign; + unsigned int sign; int exp = s->float_max_exp; if (s->got_extra_bits) {