From d3df65ab2644e1ebbf748a6cca541336b014a0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E7=BA=A2=E5=8B=8B?= Date: Thu, 18 Apr 2024 16:17:04 +0800 Subject: [PATCH] kylin-calculator: fix some build warnings and possible integer overflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 侯红勋 --- calc_programmer/calc/conversion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calc_programmer/calc/conversion.h b/calc_programmer/calc/conversion.h index f15caf3..98f9d92 100644 --- a/calc_programmer/calc/conversion.h +++ b/calc_programmer/calc/conversion.h @@ -30,7 +30,7 @@ #define UNSIGNED_CHAR_MAX 255 #define UNSIGNED_INT_MAX 65535 #define UNSIGNED_LONG_MAX 4294967295 -#define UNSIGNED_LLONG_MAX 18446744073709551615 +#define UNSIGNED_LLONG_MAX 18446744073709551615ULL #include #include -- 2.43.0