Fixed char.c compilation error in MSVC <= 2012