From: Robert Pengelly Date: Mon, 12 May 2025 06:20:22 +0000 (+0100) Subject: Just return 1 for WATCOM to remove warnings about comparison X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=3588338eeb97e4a0124cc499ac0fb9d1cb6970ef;p=sasm.git Just return 1 for WATCOM to remove warnings about comparison --- diff --git a/intel.c b/intel.c index 432792d..09495f2 100644 --- a/intel.c +++ b/intel.c @@ -3960,7 +3960,13 @@ static int fits_in_unsigned_word (unsigned long number) { } static int fits_in_signed_long (signed long number) { + +#if defined (__WATCOMC__) + return 1; +#else return ((number >= -2147483647-1) && (number <= 2147483647)); +#endif + } static int fits_in_unsigned_long (unsigned long number) {