Fix 64bit long to 32 bit int conversion notice