diff --git a/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java b/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java index 75e29cc..52ef91a 100644 --- a/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java +++ b/Dorkbox-Util/src/dorkbox/util/bytes/UInteger.java @@ -77,7 +77,7 @@ public final class UInteger extends UNumber implements Comparable { * A constant holding the maximum value an unsigned int can * have, 232-1. */ - public static final long MAX_VALUE = 0xffffffffL; + public static final long MAX_VALUE = 0xFFFFFFFFL; /** * The value modelling the content of this unsigned int @@ -322,6 +322,7 @@ public final class UInteger extends UNumber implements Comparable { return Long.valueOf(this.value).toString(); } + @Override public String toHexString() { return Long.toHexString(this.value); }