[1631] in Kerberos_V5_Development
Re: krb5_int32, krb5_ui_4 --> krb5_uint32
daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Fri Aug 23 21:46:45 1996
Date: Fri, 23 Aug 1996 21:46:30 -0400
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: "Barry Jaspan" <bjaspan@MIT.EDU>
Cc: krbdev@MIT.EDU
In-Reply-To: Barry Jaspan's message of Fri, 23 Aug 1996 14:56:26 -0400,
<9608231856.AA28409@DUN-DUN-NOODLES.MIT.EDU>
Date: Fri, 23 Aug 1996 14:56:26 -0400
From: "Barry Jaspan" <bjaspan@MIT.EDU>
Presently, krb5.h defines krb5_int32 and krb5_ui_4 to appropriate
types based on platform. I think that krb5_ui_4 is an ugly type and
is not parallel with krb5_int32. Therefore, I suggest that we add
krb5_uint32 either via typedef or #define (I can never remember if
compilers complain about typedef-equivalent types). Comments?
A typedef for krb5_uint32 seems reasonable. That seems to be in line
with X/Open and GSSAPI definitions of *_uint32. I believe most
compilers don't complain about typedef-equivalent types, with the
exception of GCC and printf/fprintf format strings --- but there GCC
complains about krb5_ui_4 already.
- Ted