malloca: pacify gcc -Wbad-function-cast
commitaf6bc3844adf8672929de3a13aa3b0665208f672
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Feb 2018 20:47:38 +0000 (23 12:47 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Feb 2018 20:48:10 +0000 (23 12:48 -0800)
treea0f745f69f98e080ca89bf3c5221bc31090bb458
parent4d5f908fdd24f6948b661d3d286e467496f170bf
malloca: pacify gcc -Wbad-function-cast

* lib/malloca.h (malloca): Pacify gcc -Wbad-function-cast
diagnostic that I got on Fedora 27 with gcc 7.3.1 20180130.
To pacify GCC, I had to cast alloca’s result to some type other
than void * before casting that to uintptr_t.
ChangeLog
lib/malloca.h