Fixed implicit conversion loss warning.