Fixed type warning.