diff options
| author | samwega <alexanderglavan@gmail.com> | 2025-10-03 22:26:24 +0300 |
|---|---|---|
| committer | samwega <alexanderglavan@gmail.com> | 2025-10-03 22:26:24 +0300 |
| commit | 9da10dece2da04ab47771fa66e2f4e355573d891 (patch) | |
| tree | 9fe230e82e943ad935731c40e5e88eb9952669f1 | |
| parent | 9e9d41ddfd30257006f66709f2ba0222381c615d (diff) | |
fix: another itoa() used in path_linux.odin had to be replaced with write_int()
| -rw-r--r-- | core/os/os2/path_linux.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os2/path_linux.odin b/core/os/os2/path_linux.odin index 8b185f419..1c9927843 100644 --- a/core/os/os2/path_linux.odin +++ b/core/os/os2/path_linux.odin @@ -199,7 +199,7 @@ _get_full_path :: proc(fd: linux.Fd, allocator: runtime.Allocator) -> (fullpath: buf: [32]u8 copy(buf[:], PROC_FD_PATH) - strconv.itoa(buf[len(PROC_FD_PATH):], int(fd)) + strconv.write_int(buf[len(PROC_FD_PATH):], i64(fd), 10) if fullpath, err = _read_link_cstr(cstring(&buf[0]), allocator); err != nil || fullpath[0] != '/' { delete(fullpath, allocator) |