Fixed compiler warnings.

Signed-off-by: Christian Gunderman <christian@sonofboss.cwru.edu>