try to fix various warnings from gcc when optimization flags are enabled

This commit is contained in:
Paul Davis 2013-11-04 21:32:41 -05:00
parent 342237bf9c
commit 0cca272431
15 changed files with 44 additions and 20 deletions

View file

@ -105,9 +105,9 @@ FPU::FPU ()
*fxbuf = (char *) malloc (512);
assert (*fxbuf);
#else
posix_memalign ((void **) &fxbuf, 16, sizeof (char *));
(void) posix_memalign ((void **) &fxbuf, 16, sizeof (char *));
assert (fxbuf);
posix_memalign ((void **) fxbuf, 16, 512);
(void) posix_memalign ((void **) fxbuf, 16, 512);
assert (*fxbuf);
#endif