Fix type warning.