malloca: port --enable-gcc-warnings to clang
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 May 2013 07:15:45 +0000 (00:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 May 2013 07:33:38 +0000 (00:33 -0700)
commitf6e4c90b3a65b5b25557d0852b69a21b1cd48067
treed750515538b3082a29d8a6cac7183f8070b5f879
parenta3232e87aa43983f16befedc0b6311ac02aceacb
malloca: port --enable-gcc-warnings to clang

* lib/malloca.c (struct header): New member 'magic', to avoid casts.
(mmalloca): Avoid casts from looser to stricter-aligned pointers.
ChangeLog
lib/malloca.c