From 66698d4b1a03dc7fbff8d1f99d1365a17fef56b6 Mon Sep 17 00:00:00 2001 From: bbbradsmith Date: Fri, 14 Oct 2022 16:47:11 -0400 Subject: [PATCH] Rephrasing warnings for suspicious decimal integer constants --- src/cc65/scanner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index 66ce6906e..36fd1301b 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -643,7 +643,7 @@ static void NumericConst (void) if (IVal <= 0xFFFF && (Types & IT_UINT) == 0 && (WarnTypes & IT_LONG) != 0) { - Warning ("Integer constant is long"); + Warning ("Integer constant implies signed long"); } } if (IVal > 0xFFFF) { @@ -660,7 +660,7 @@ static void NumericConst (void) ** a preceding unary op or when it is used in constant calculation. */ if (WarnTypes & IT_ULONG) { - Warning ("Integer constant is unsigned long"); + Warning ("Integer constant implies unsigned long"); } }