Fix signed int overflow warning.