Mercurial > hg > xemacs-beta
diff src/free-hook.c @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children | 1ccc32a20af4 |
line wrap: on
line diff
--- a/src/free-hook.c Mon Aug 13 11:33:40 2007 +0200 +++ b/src/free-hook.c Mon Aug 13 11:35:02 2007 +0200 @@ -131,7 +131,7 @@ #endif EMACS_INT present = (EMACS_INT) gethash (ptr, pointer_table, - (CONST void **) &size); + (const void **) &size); if (!present) { @@ -257,7 +257,7 @@ void *result = malloc (size); if (!ptr) return result; - present = (EMACS_INT) gethash (ptr, pointer_table, (CONST void **) &old_size); + present = (EMACS_INT) gethash (ptr, pointer_table, (const void **) &old_size); if (!present) { /* This can only happen by reallocing a pointer that didn't