From be1dbc3743e66d2b73fca37982ab85f520712246 Mon Sep 17 00:00:00 2001 From: SomeGuyWhoLovesCoding <99929173+SomeGuyWhoLovesCoding@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:07:34 -0400 Subject: [PATCH] Update Int64Helper.hx --- std/haxe/Int64Helper.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/std/haxe/Int64Helper.hx b/std/haxe/Int64Helper.hx index d86ba325dd5..6b6af416a6f 100644 --- a/std/haxe/Int64Helper.hx +++ b/std/haxe/Int64Helper.hx @@ -123,7 +123,7 @@ class Int64Helper { /** The minimum `Int64` value. */ - public static var minValue:Int64 = -maxValue - 1; + public static var minValue:Int64 = Int64.not(maxValue); /** The maximum `Int32` value with the type `Int64`. @@ -135,7 +135,7 @@ class Int64Helper { The minimum `Int32` value with the type `Int64`. This is handy for type comparison. */ - public static var minValue32:Int64 = -maxValue32 - 1; + public static var minValue32:Int64 = Int64.not(maxValue32); /** The maximum unsigned `Int32` value with the type `Int64`.