Change long long to long in safe math, might invalidate normal C programs.