Fix some compiler warnings.

Signed-off-by: Casey Dwyer <caseydwyer@gmail.com>