* mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.
From-SVN: r97532
This commit is contained in:
parent
4b8d544bc6
commit
58dc8547f2
|
@ -1,3 +1,7 @@
|
|||
2005-04-04 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.
|
||||
|
||||
2005-03-21 Mike Stump <mrs@apple.com>
|
||||
|
||||
* mf-heuristics.c: Fix whitespace at end of line.
|
||||
|
|
|
@ -1273,9 +1273,8 @@ __mfu_unregister (void *ptr, size_t sz, int type)
|
|||
}
|
||||
|
||||
/* Manage the object cemetary. */
|
||||
if (__mf_opts.persistent_count > 0 &&
|
||||
old_obj->type >= 0 &&
|
||||
old_obj->type <= __MF_TYPE_MAX_CEM)
|
||||
if (__mf_opts.persistent_count > 0
|
||||
&& (unsigned) old_obj->type <= __MF_TYPE_MAX_CEM)
|
||||
{
|
||||
old_obj->deallocated_p = 1;
|
||||
old_obj->dealloc_pc = (uintptr_t) __builtin_return_address (0);
|
||||
|
|
Loading…
Reference in New Issue