Mercurial > hg > xemacs-beta
comparison src/free-hook.c @ 2519:24c38b122889
[xemacs-hg @ 2005-01-26 10:36:07 by ben]
fix aliasing warning
free-hook.c: Fix aliasing warning.
author | ben |
---|---|
date | Wed, 26 Jan 2005 10:36:08 +0000 |
parents | 3d8143fc88e1 |
children | 1227374e7199 |
comparison
equal
deleted
inserted
replaced
2518:cc24b630b1d6 | 2519:24c38b122889 |
---|---|
129 #ifdef UNMAPPED_FREE | 129 #ifdef UNMAPPED_FREE |
130 unsigned long rounded_up_size; | 130 unsigned long rounded_up_size; |
131 #endif | 131 #endif |
132 | 132 |
133 EMACS_INT present = (EMACS_INT) gethash (ptr, pointer_table, | 133 EMACS_INT present = (EMACS_INT) gethash (ptr, pointer_table, |
134 (const void **) &size); | 134 (const void **) |
135 (void *) &size); | |
135 | 136 |
136 if (!present) | 137 if (!present) |
137 { | 138 { |
138 /* This can only happen if you try to free something that didn't | 139 /* This can only happen if you try to free something that didn't |
139 come from malloc */ | 140 come from malloc */ |