mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
predictor_enc,GetBestGreenRedToBlue: quiet implicit conv warnings
no change in object code from clang-7 -fsanitize=implicit-integer-truncation implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'uint8_t' (aka 'unsigned char') changed the value to 240 (8-bit, unsigned) Change-Id: Ia7cbaad247ab22b505b7f98b1247219c024f6db0
This commit is contained in:
parent
e1c8acb5bd
commit
32cf880132
@ -666,8 +666,8 @@ static void GetBestGreenRedToBlue(
|
||||
break; // out of iter-loop.
|
||||
}
|
||||
}
|
||||
best_tx->green_to_blue_ = green_to_blue_best;
|
||||
best_tx->red_to_blue_ = red_to_blue_best;
|
||||
best_tx->green_to_blue_ = green_to_blue_best & 0xff;
|
||||
best_tx->red_to_blue_ = red_to_blue_best & 0xff;
|
||||
}
|
||||
#undef kGreenRedToBlueMaxIters
|
||||
#undef kGreenRedToBlueNumAxis
|
||||
|
Loading…
Reference in New Issue
Block a user