diff options
Diffstat (limited to 'src/puresize.h')
-rw-r--r-- | src/puresize.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/puresize.h b/src/puresize.h index 03ad4e7900d..5f571f097ea 100644 --- a/src/puresize.h +++ b/src/puresize.h @@ -74,14 +74,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 char my_edata[]; \ - if ((PNTR_COMPARISON_TYPE) XPNTR (obj) < (PNTR_COMPARISON_TYPE) &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 char my_edata[]; \ - if (XPNTR (obj) < (unsigned int) &my_edata) \ + if (XPNTR (obj) < (unsigned int) my_edata) \ pure_write_error (); } #endif /* PNTR_COMPARISON_TYPE */ |