'300' isn't portable char; fix for ANSI C