From: John Kohl Date: Wed, 5 Dec 1990 11:32:31 +0000 (+0000) Subject: u_shorts promote to ints X-Git-Tag: krb5-1.0-alpha3~63 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=122ec788a68a70a24560673a3e8dc115c7098b62;p=krb5.git u_shorts promote to ints git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1530 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/widen.h b/src/include/krb5/widen.h index 4ea552f61..a127eb8cd 100644 --- a/src/include/krb5/widen.h +++ b/src/include/krb5/widen.h @@ -27,10 +27,11 @@ #define krb5_msgtype int #define krb5_kvno int -#define krb5_addrtype unsigned int -#define krb5_keytype unsigned int -#define krb5_enctype unsigned int -#define krb5_cksumtype unsigned int -#define krb5_authdatatype unsigned int +/* these are unsigned shorts, but promote to signed ints. Ick. */ +#define krb5_addrtype int +#define krb5_keytype int +#define krb5_enctype int +#define krb5_cksumtype int +#define krb5_authdatatype int #endif /* not NARROW_PROTOTYPES */