isomalloc: cleanup aligned allocation function
authorPhil Miller <mille121@illinois.edu>
Thu, 24 Sep 2009 17:21:16 +0000 (17:21 +0000)
committerPhil Miller <mille121@illinois.edu>
Thu, 24 Sep 2009 17:21:16 +0000 (17:21 +0000)
commit9d5c55ef6428ca34afd5be088100a64185eacc98
tree333b4c45ef60ff17229ddbe4c65dac6153d8b832
parentc51dcf417fbdb90b88837c39f01f86796b87b124
isomalloc: cleanup aligned allocation function

- Use an intptr_t in place of char*, eliminating the need for casts to
  do arithmetic. Compile tested intptr_t on gcc, xlc 9, pgcc 9, icc
  10, and Solaris cc.
- Eliminate the unused void* mem.
- Mark potential issue with handling of non-zero `reserved' argument.
src/conv-core/isomalloc.c