Commit 58dc8547 by Alan Modra Committed by Alan Modra

* mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.

From-SVN: r97532
parent 4b8d544b
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment