diff --git a/tests/utils.c b/tests/utils.c index dde6e03c41..f2441046c3 100644 --- a/tests/utils.c +++ b/tests/utils.c @@ -25,7 +25,7 @@ #define SCALEBITS 8 #define ONE_HALF (1 << (SCALEBITS - 1)) -#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5)) +#define FIX(x) ((int) ((x) * (1 << SCALEBITS) + 0.5)) #define err_if(expr) do { \ if (expr) { \