Mercurial > emacs
changeset 8832:02bbe8ec50ea
(CHECK_IMPURE, all versions): Use EMACS_INT.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 17 Sep 1994 00:41:40 +0000 |
parents | 580f32e9b493 |
children | e2b9f8616738 |
files | src/puresize.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/puresize.h Sat Sep 17 00:40:54 1994 +0000 +++ b/src/puresize.h Sat Sep 17 00:41:40 1994 +0000 @@ -40,7 +40,7 @@ /* 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 @@ /* 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 (); }