From 744744715f9368a472a3448ace55667e14681b73 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 6 Apr 2021 17:37:43 -0700 Subject: [PATCH] Jn: first arg int Cast the first argument of the call to `jn(f)` to `int` in the parser. --- Source/Parser/wp_parser_y.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Parser/wp_parser_y.h b/Source/Parser/wp_parser_y.h index 8a8aec89b08..63ec6c31677 100644 --- a/Source/Parser/wp_parser_y.h +++ b/Source/Parser/wp_parser_y.h @@ -248,9 +248,9 @@ wp_call_f2 (enum wp_f2_t type, T a, T b) return 0.0; #else # if defined(AMREX_USE_FLOAT) && !defined(__APPLE__) - return jnf(a, b); + return jnf(int(a), b); # else - return jn(a, b); + return jn(int(a), b); # endif #endif case WP_MIN: