Fix implicit conversion warning.