fixed "comparison always true due to limited data range" 
compile error on old Apple GCC. nw.