mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01: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.
|
||||
if (mse) {
|
||||
*mse = sqrt(err);
|
||||
*mse = (float)sqrt(err);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user