Fix an implicit-conversion warning.