Fix compile and other warnings disguised by crappy casts.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
1 file changed