Fix integer conversion warning.