projects
/
sasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b4ec32
)
Just return 1 for WATCOM to remove warnings about comparison
author
Robert Pengelly
<robertapengelly@hotmail.com>
Mon, 12 May 2025 06:20:22 +0000
(07:20 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Mon, 12 May 2025 06:20:22 +0000
(07:20 +0100)
intel.c
patch
|
blob
|
history
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) {