mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
Merge commit '40ad05bab206c932a32171d45581080c914b06ec'
* commit '40ad05bab206c932a32171d45581080c914b06ec': checkasm: Cast unsigned to signed Merged-by: Clément Bœsch <cboesch@gopro.com>
This commit is contained in:
commit
8b13492c9e
@ -217,7 +217,7 @@ int float_near_ulp(float a, float b, unsigned max_ulp)
|
||||
return a == b;
|
||||
}
|
||||
|
||||
if (abs(x.i - y.i) <= max_ulp)
|
||||
if (llabs((int64_t)x.i - y.i) <= max_ulp)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user