Fix compile with -Wextra