Fix abuses of the RESIZE() macro in array.c, of the form:
x = RESIZE(x, type, size); which should just be: RESIZE(x, type, size); The erroneous use is undefined behaviour according to the C standard, and causes new versions of gcc (and, apparently, clang) to throw a warning. Reported by nenolod/moogle. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@227 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Reference in New Issue
Block a user