diff options
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index b7e7d1792..20bf28538 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -2177,10 +2177,11 @@ __MPFR_DECLSPEC extern mpfr_prec_t mpfr_log_prec; #define MPFR_LOG_VAR(x) \ LOG_PRINT (MPFR_LOG_INTERNAL_F, "%s.%d:%s[%#Pu]=%.*Rg\n", __func__, \ - __LINE__, #x, mpfr_get_prec (x), mpfr_log_prec, x) + (int) __LINE__, #x, mpfr_get_prec (x), mpfr_log_prec, x) #define MPFR_LOG_MSG2(format, ...) \ - LOG_PRINT (MPFR_LOG_MSG_F, "%s.%d: "format, __func__, __LINE__, __VA_ARGS__) + LOG_PRINT (MPFR_LOG_MSG_F, "%s.%d: "format, __func__, (int) __LINE__, \ + __VA_ARGS__) #define MPFR_LOG_MSG(x) MPFR_LOG_MSG2 x #define MPFR_LOG_BEGIN2(format, ...) \ |