X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fs3tc.c;h=8e979a84ac66e7c21bde480993a246957241efc7;hb=1fa8ff38e47b3e0fc63e2a2e8fbbcf9e4fb071c5;hp=546ee2156f548d83cc2392e380e079df19710e89;hpb=c2553a5585c381971eca55e9e008cf4caee919fe;p=ffmpeg diff --git a/libavcodec/s3tc.c b/libavcodec/s3tc.c index 546ee2156f5..8e979a84ac6 100644 --- a/libavcodec/s3tc.c +++ b/libavcodec/s3tc.c @@ -28,7 +28,7 @@ static inline void dxt1_decode_pixels(const uint8_t *s, uint32_t *d, unsigned int qstride, unsigned int flag, uint64_t alpha) { - unsigned int x, y, c0, c1, a = (!flag * 255) << 24; + unsigned int x, y, c0, c1, a = (!flag * 255u) << 24; unsigned int rb0, rb1, rb2, rb3, g0, g1, g2, g3; uint32_t colors[4], pixels;