nushell/crates/nu-command/src/conversions
Andrej Kolčin 2ce5de58e6
Fix an integer overflow bug in into duration (#15031)
Fixes #15028

# Description

The current implementation of `into duration` uses bare pointer
arithmetic instead of wrapping one. This works fine on 64-bit platforms,
since the pointers don't take up all of the 64 bits, but fails on 32 bit
ones.


# Tests + Formatting

All of the affected tests pass on my end, but it's `x86_84`, so they
were also passing before that.
2025-02-06 21:32:42 +01:00
..
into Fix an integer overflow bug in into duration (#15031) 2025-02-06 21:32:42 +01:00
fill.rs Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
mod.rs Add split cell-path (#13705) 2024-08-28 23:01:26 +02:00
split_cell_path.rs Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00