With proper flags, compiler will emit a warning. So is it okay? Or how do you want it to be written?