fix: USHRT_MAX is too large

The original expanded to 16 nibbles which is technically correct because
the standard defines USHRT_MAX as being at LEAST 65535. However, in
practice everything seems to set the max as the max length of two bytes.
This commit is contained in:
Josh Megnauth
2025-02-18 00:06:58 -05:00
parent b6b273af05
commit 27cd6a2b88
+1 -1
View File
@@ -26,7 +26,7 @@
#define UINT_MAX 0xffffffff
#define ULLONG_MAX 0xffffffffffffffff
#define ULONG_MAX 0xffffffffffffffff
#define USHRT_MAX 0xffffffffffffffff
#define USHRT_MAX 0xffff
#define WORD_BIT 32
#endif