diff options
author | Jakub Vít <jakub.vit@gmail.com> | 2016-09-04 19:44:39 +0100 |
---|---|---|
committer | Steven G. Johnson <stevenj@mit.edu> | 2016-09-04 14:44:38 -0400 |
commit | caef918abd0a9425b3942df3859c7bea7b8986e0 (patch) | |
tree | e23dd5ff5a5435bb35b44102554189e871e8b684 | |
parent | ce116392201f9f96b3e8519eb5c82c03144d0109 (diff) | |
download | libutf8proc-caef918abd0a9425b3942df3859c7bea7b8986e0.tar.gz libutf8proc-caef918abd0a9425b3942df3859c7bea7b8986e0.tar.bz2 |
Change definition of UINT16_MAX macro (#84)
Change UINT16_MAX from `~(utf8proc_uint16_t)0` to fixed value `65535U` to prevent weird behaviour in complex expressions.
-rw-r--r-- | utf8proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ extern "C" { #endif #ifndef UINT16_MAX -# define UINT16_MAX ~(utf8proc_uint16_t)0 +# define UINT16_MAX 65535U #endif /** |