From 7ff819141d9e995300d79961adda8521cb4bad6d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 10 Oct 2024 18:23:20 +0300
Subject: [PATCH] libm/e_exp.c: fix gcc warning on 32 bit:
src/libm/e_exp.c:105: warning: integer constant is too large for 'long' type
---
src/libm/e_exp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libm/e_exp.c b/src/libm/e_exp.c
index a4c8cc89af0e5..f39bb5c539450 100644
--- a/src/libm/e_exp.c
+++ b/src/libm/e_exp.c
@@ -102,7 +102,7 @@ union {
Uint64 u64;
double d;
} inf_union = {
- 0x7ff0000000000000 /* Binary representation of a 64-bit infinite double (sign=0, exponent=2047, mantissa=0) */
+ SDL_UINT64_C(0x7ff0000000000000) /* Binary representation of a 64-bit infinite double (sign=0, exponent=2047, mantissa=0) */
};
double __ieee754_exp(double x) /* default IEEE double exp */