[no subject]

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


/* _al_sane_realloc:
 *  realloc() substitution with guaranteed behaviour.
 */
void *_al_sane_realloc(void *ptr, size_t size)
{
   void *tmp_ptr;
   ASSERT(size >= 0);

size_t is unsigned for DJGPP, so the comparison is always true, which halts
gcc with WARNMODE=1. Removed.

--
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/