Just return 1 for WATCOM to remove warnings about comparison
authorRobert Pengelly <robertapengelly@hotmail.com>
Mon, 12 May 2025 06:20:22 +0000 (07:20 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Mon, 12 May 2025 06:20:22 +0000 (07:20 +0100)
intel.c

diff --git a/intel.c b/intel.c
index 432792d3667116d71fc0cf08ad01d340334a5443..09495f28e0a03ae579e1b168160bf05caee44226 100644 (file)
--- 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) {