fix wrong type of cast in C++ version of string.h

(0) -1000 -300 -100 -30 -10 -1 +1 tip

mercurial