summaryrefslogtreecommitdiff
path: root/src/puresize.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-03-21 20:03:04 +0000
committerRichard M. Stallman <rms@gnu.org>1995-03-21 20:03:04 +0000
commit8100c095b197fd1791efa09b24e34151e0e84bd4 (patch)
tree5e8a54cf5527bda6d6380548acfe25b1820d70e6 /src/puresize.h
parente329c0798f321297b6c4132e31418bc2b9651284 (diff)
downloademacs-8100c095b197fd1791efa09b24e34151e0e84bd4.tar.gz
(CHECK_IMPURE): Declare my_edata as char array.
Diffstat (limited to 'src/puresize.h')
-rw-r--r--src/puresize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/puresize.h b/src/puresize.h
index d30894e88d3..99391ecf2ba 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -73,14 +73,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 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 (); }