mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 05:23:25 +08:00

Upsizing to `usize` from `i32` doesn't work if `usize` is only 32-bits. I changed the code to use the `FromStr` impl on `i32`, but we could have also just used `u64` instead of `i32`. Also, we should get in the habit of using the appropriate type aliases where possible (`i32` should be `RawFd`).