Fixed -Wall errors.