update for -Wextra

Signed-off-by: Brian Norris <computersforpeace@gmail.com>