Change definition of UINT16_MAX macro (#84)
authorJakub Vít <jakub.vit@gmail.com>
Sun, 4 Sep 2016 18:44:39 +0000 (19:44 +0100)
committerSteven G. Johnson <stevenj@mit.edu>
Sun, 4 Sep 2016 18:44:38 +0000 (14:44 -0400)
commitcaef918abd0a9425b3942df3859c7bea7b8986e0
treee23dd5ff5a5435bb35b44102554189e871e8b684
parentce116392201f9f96b3e8519eb5c82c03144d0109
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.
utf8proc.h