mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-04 16:06:49 +02:00
silence a msvc build warning
implicit double -> float conversion; avoiding sqrtf (c99) for compatibility Change-Id: If9b367dde237fc5173c1445cc60b16aa6ad2821c
This commit is contained in:
parent
911795490e
commit
948d4fe94f
@ -140,7 +140,7 @@ int QuantizeLevels(uint8_t* data, int width, int height,
|
|||||||
|
|
||||||
// Compute final mean squared error if needed.
|
// Compute final mean squared error if needed.
|
||||||
if (mse) {
|
if (mse) {
|
||||||
*mse = sqrt(err);
|
*mse = (float)sqrt(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user