Address -Wall warnings