Added a cast to fixed integer width mismatch.