Fix int conversion error.