From d2f9e4d8f717b05ac800c072c89223e4f624bcf6 Mon Sep 17 00:00:00 2001 From: RoBaertschi Date: Fri, 20 Jun 2025 07:43:21 +0200 Subject: [PATCH] store(ini): undo int formatting, old one was better --- store/ini.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/ini.odin b/store/ini.odin index 9932578..4c8ae39 100644 --- a/store/ini.odin +++ b/store/ini.odin @@ -176,7 +176,7 @@ ini_parse_and_set_pointer_by_base_type :: proc(ptr: rawptr, str: string, type_in case i64: (cast( ^i64)ptr)^ = cast( i64) bounded_int(value, cast(i128)min( i64), cast(i128)max( i64)) or_return case i128: (cast(^i128)ptr)^ = bounded_int(value, min(i128), max(i128)) or_return - case int: (cast(^int)ptr)^ = cast(int) bounded_int(value, cast(i128)min(int), cast(i128)max(int)) or_return + case int: (cast( ^int)ptr)^ = cast( int) bounded_int(value, cast(i128)min( int), cast(i128)max( int)) or_return case i16be: (cast( ^i16be)ptr)^ = cast( i16be) bounded_int(value, cast(i128)min( i16be), cast(i128)max( i16be)) or_return case i32be: (cast( ^i32be)ptr)^ = cast( i32be) bounded_int(value, cast(i128)min( i32be), cast(i128)max( i32be)) or_return