]> git.ipfire.org Git - thirdparty/krb5.git/commit
Make krb5_ucs2 and krb5_ucs4 unsigned 367/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 11 Dec 2015 19:48:41 +0000 (14:48 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 11 Dec 2015 22:47:59 +0000 (17:47 -0500)
commitb3722b5b4546e338d1d3dd9f359b1a15742b8508
treea8cf66cfae41b53c4e95cb77f8720d2af1dc5aab
parentc877f13c8985d820583b0d7ac1bb4c5dc36e677e
Make krb5_ucs2 and krb5_ucs4 unsigned

krb5 contains some Unicode code adapted from OpenLDAP.  OpenLDAP uses
unsigned types for UCS-2 and UCS-4 code points, but the adapted code
uses signed types, which creates pointer-sign warnings when we call
uccompatdecomp() and similar functions.  To match the OpenLDAP code,
use unsigned types.
src/include/k5-utf8.h