]> git.eshelyaron.com Git - emacs.git/commitdiff
(CHECK_IMPURE, all versions): Use EMACS_INT.
authorRichard M. Stallman <rms@gnu.org>
Sat, 17 Sep 1994 00:41:40 +0000 (00:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 17 Sep 1994 00:41:40 +0000 (00:41 +0000)
src/puresize.h

index 0391bc380b8f9075f55676709cee495393b5888e..3aa6e75c2dcf32c7b50ecfa69a7317d2af288f26 100644 (file)
@@ -40,7 +40,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* For machines like APOLLO where text and data can go anywhere
    in virtual memory.  */
 #define CHECK_IMPURE(obj) \
-  { extern int pure[]; \
+  { extern EMACS_INT pure[]; \
     if ((PNTR_COMPARISON_TYPE) XPNTR (obj) < (PNTR_COMPARISON_TYPE) ((char *) pure + PURESIZE) \
        && (PNTR_COMPARISON_TYPE) XPNTR (obj) >= (PNTR_COMPARISON_TYPE) pure) \
       pure_write_error (); }
@@ -50,14 +50,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* when PNTR_COMPARISON_TYPE is not the default (unsigned int) */
 #define CHECK_IMPURE(obj) \
-  { extern int my_edata; \
+  { extern EMACS_INT my_edata; \
     if ((PNTR_COMPARISON_TYPE) XPNTR (obj) < (PNTR_COMPARISON_TYPE) &my_edata) \
       pure_write_error (); }
 
 #else /* not VIRT_ADDRESS_VARIES, not PNTR_COMPARISON_TYPE */
 
 #define CHECK_IMPURE(obj) \
-  { extern int my_edata; \
+  { extern EMACS_INT my_edata; \
     if (XPNTR (obj) < (unsigned int) &my_edata) \
       pure_write_error (); }