alloca: fix buf interaction
commitba7d2c543f7d69883ece7eab39bf6c5cd5dc3081
authorMike Frysinger <vapier@gentoo.org>
Tue, 24 Feb 2015 05:15:41 +0000 (24 00:15 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 24 Feb 2015 18:29:40 +0000 (24 13:29 -0500)
treeaa48200bc313424adc098d68b2104c5abc45bf5a
parent9438b237abca11de201dd10483717299eafb1f0b
alloca: fix buf interaction

The stack-grows-down case is missing paren around the buf cast.

The stack-grows-up case is missing a cast with the buf assignment.
This leads to build failures due to -Werror:
vfprintf.c: In function '_IO_vfprintf_internal':
vfprintf.c:1738:16: error: initialization from incompatible pointer type [-Werror]
ChangeLog
include/alloca.h