diff src/unexaix.c @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents 308d34e9f07d
children
line wrap: on
line diff
--- a/src/unexaix.c	Sat Dec 12 21:49:31 2015 +0000
+++ b/src/unexaix.c	Sun Dec 13 13:22:58 2015 +0000
@@ -89,7 +89,7 @@
 
 static long text_scnptr;
 static long data_scnptr;
-#define ALIGN(val, pwr) (((val) + ((1L<<(pwr))-1)) & ~((1L<<(pwr))-1))
+#define ALIGN(val, pwr) (((val) + ((E1<<(pwr))-1)) & ~((E1<<(pwr))-1))
 static long load_scnptr;
 static long orig_load_scnptr;
 static long orig_data_scnptr;
@@ -380,7 +380,7 @@
 	}
     }
 
-  if (f_hdr.f_symptr > 0L)
+  if (f_hdr.f_symptr > E0)
     {
       f_hdr.f_symptr += bias;
     }
@@ -487,7 +487,7 @@
   if (a_out < 0)
     return 0;
 
-  if (orig_load_scnptr == 0L)
+  if (orig_load_scnptr == E0)
     return 0;
 
   if (lnnoptr && lnnoptr < orig_load_scnptr) /* if there is line number info  */