summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utf8proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8proc.h b/utf8proc.h
index 82c0902..186641d 100644
--- a/utf8proc.h
+++ b/utf8proc.h
@@ -134,7 +134,7 @@ extern "C" {
#endif
#ifndef UINT16_MAX
-# define UINT16_MAX ~(utf8proc_uint16_t)0
+# define UINT16_MAX 65535U
#endif
/**