changeset 11078:fd9f2d854e41

(CHECK_IMPURE): Declare my_edata as char array.
author Richard M. Stallman <rms@gnu.org>
date Tue, 21 Mar 1995 20:03:04 +0000
parents e80116526bd6
children aeaaa579d967
files src/puresize.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/puresize.h	Tue Mar 21 20:02:52 1995 +0000
+++ b/src/puresize.h	Tue Mar 21 20:03:04 1995 +0000
@@ -73,14 +73,14 @@
 
 /* when PNTR_COMPARISON_TYPE is not the default (unsigned int) */
 #define CHECK_IMPURE(obj) \
-  { extern EMACS_INT my_edata; \
+  { extern char 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 EMACS_INT my_edata; \
+  { extern char my_edata[]; \
     if (XPNTR (obj) < (unsigned int) &my_edata) \
       pure_write_error (); }