Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkasm/checkasm.c')
-rw-r--r--tests/checkasm/checkasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index f6719809e3..ecfa5d2109 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -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;