Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 4660 → Rev 4661

/polymer/eduke32/build/src/cache1d.c
163,11 → 163,9
*newhandle = (intptr_t)Xmalloc(newbytes);
}
#else
static void inc_and_check_cacnum(void)
static inline void inc_and_check_cacnum(void)
{
cacnum++;
 
if (cacnum > MAXCACHEOBJECTS)
if (++cacnum > MAXCACHEOBJECTS)
reportandexit("Too many objects in cache! (cacnum > MAXCACHEOBJECTS)");
}