Fix compiler warning on platforms where isdigit() is implemented as a macro.