Migrate int to nint.