Skip to content

Commit

Permalink
Max: Correct minimum int32
Browse files Browse the repository at this point in the history
Change the INT_MIN_VALUE to the correct minimum value.
  • Loading branch information
dimensionscape committed Jul 10, 2024
1 parent e9cf0a5 commit c9ca80f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/starling/utils/Max.hx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Max
public static inline var INT_MAX_VALUE:Int = 2147483647;

/** The smallest representable 32-bit signed integer. */
public static inline var INT_MIN_VALUE:Int = -2147483647;
public static inline var INT_MIN_VALUE:Int = -2147483648;

/** he largest representable 32-bit unsigned integer. */
/** The largest representable 32-bit unsigned integer. */
public static inline var UINT_MAX_VALUE:UInt = 0xffffffff;
}

0 comments on commit c9ca80f

Please sign in to comment.