mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
fix warning ("left shift of negative value") using a cast
Change-Id: Ie99e8ff87924a1d15e2c5d83bd9adf07dab04e94
This commit is contained in:
parent
7017001462
commit
1819965e0a
@ -19,7 +19,7 @@
|
|||||||
#include "./lossless.h"
|
#include "./lossless.h"
|
||||||
|
|
||||||
// For sign-extended multiplying constants, pre-shifted by 5:
|
// For sign-extended multiplying constants, pre-shifted by 5:
|
||||||
#define CST_5b(X) (((int16_t)(X << 8)) >> 5)
|
#define CST_5b(X) (((int16_t)((uint16_t)X << 8)) >> 5)
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Subtract-Green Transform
|
// Subtract-Green Transform
|
||||||
|
Loading…
Reference in New Issue
Block a user