store(ini): undo int formatting, old one was better
This commit is contained in:
parent
8cd27274f0
commit
d2f9e4d8f7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user