fix warnings for gcc -Wall and NumericString.h about signed/unsigned comparison