We still need to cast the resulting pointer in NEW and NEW2 as it
authormillert <millert@openbsd.org>
Wed, 8 Jan 2014 23:12:57 +0000 (23:12 +0000)
committermillert <millert@openbsd.org>
Wed, 8 Jan 2014 23:12:57 +0000 (23:12 +0000)
commitfc2da2167d43a177115db568ab0a094e4c1cd71a
treeb935b4c8f14e39b37b3e0adef5fa72cf1f39c858
parent1edef94eec087878135a70e3792c6a362717875a
We still need to cast the resulting pointer in NEW and NEW2 as it
is used in pointer arithmetic.  Otherwise we do arithmetic on void
* and corrupt the heap.
usr.bin/yacc/defs.h