-Wreturn-type fix