diff --git a/core/path/filepath/path_unix.odin b/core/path/filepath/path_unix.odin index a1e16a3e9..165d856de 100644 --- a/core/path/filepath/path_unix.odin +++ b/core/path/filepath/path_unix.odin @@ -34,8 +34,8 @@ abs :: proc(path: string, allocator := context.allocator) -> (string, bool) { defer _unix_free(path_ptr); path_cstr := cstring(path_ptr); - path = strings.clone(string(path_cstr), allocator); - return path, true; + path_str := strings.clone(string(path_cstr), allocator); + return path_str, true; } join :: proc(elems: ..string, allocator := context.allocator) -> string { diff --git a/src/gb/gb.h b/src/gb/gb.h index b56c20f1e..60e7b8e64 100644 --- a/src/gb/gb.h +++ b/src/gb/gb.h @@ -491,8 +491,8 @@ typedef i32 b32; // NOTE(bill): Prefer this!!! #define USIZE_MIX U32_MIN #define USIZE_MAX U32_MAX - #define ISIZE_MIX S32_MIN - #define ISIZE_MAX S32_MAX + #define ISIZE_MIX I32_MIN + #define ISIZE_MAX I32_MAX #elif defined(GB_ARCH_64_BIT) #define USIZE_MIX U64_MIN #define USIZE_MAX U64_MAX