1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02: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:
Clément Bœsch
2017-03-15 12:32:15 +01:00

View File

@@ -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;