diff --git a/ZString.cpp b/ZString.cpp index c6b37b8..5c41f1d 100644 --- a/ZString.cpp +++ b/ZString.cpp @@ -137,7 +137,7 @@ namespace coreutils { ++cursor; if(cursor == end) return 0; - while((*cursor >- '0') && (*cursor <= '9')) { + while((*cursor >= '0') && (*cursor <= '9')) { value *= 10; value += *cursor - 48; ++cursor;