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:
authorClément Bœsch <cboesch@gopro.com>2017-03-15 14:32:15 +0300
committerClément Bœsch <cboesch@gopro.com>2017-03-15 14:32:15 +0300
commit8b13492c9ecf85f1f674f99df370a19992b3910a (patch)
treeeb812effeef44ed6d0f378c21b23d099a0a5f25b /tests/checkasm/checkasm.c
parent89a032634b6edde1efa402d7deaa66fa25dd3e2b (diff)
parent40ad05bab206c932a32171d45581080c914b06ec (diff)
Merge commit '40ad05bab206c932a32171d45581080c914b06ec'
* commit '40ad05bab206c932a32171d45581080c914b06ec': checkasm: Cast unsigned to signed Merged-by: Clément Bœsch <cboesch@gopro.com>
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;