fix a whole lot of warnings
Authored by: Jurgen J. Vinju 2014-11-28
Parent(s): [7f0c08]
Child(ren): [41ef8d]