Skip Menu |
 

From: epeisach@mit.edu
Subject: SVN Commit

bool_t is defined as int, krb5_boolean as unsigned int. These are
similar size but someone someday might change the krb5_boolean.
Instead of passing a krb5_boolean * to xdr_bool, implement xdr_krb5_boolean
which keeps the different types separate.

This cleans up a number of warnings.




https://github.com/krb5/krb5/commit/f14989c3ee872225c22024012583986a7db43f06
Commit By: epeisach
Revision: 21906
Changed Files:
U trunk/src/lib/kadm5/kadm_rpc_xdr.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r21906 from trunk

------------------------------------------------------------------------
r21906 | epeisach | 2009-02-06 00:22:34 -0500 (Fri, 06 Feb 2009) | 12 lines
Changed paths:
M /trunk/src/lib/kadm5/kadm_rpc_xdr.c

ticket: 6374
subject: Do not assume sizeof(bool_t) == sizeof(krb5_boolean)

bool_t is defined as int, krb5_boolean as unsigned int. These are
similar size but someone someday might change the krb5_boolean.
Instead of passing a krb5_boolean * to xdr_bool, implement xdr_krb5_boolean
which keeps the different types separate.

This cleans up a number of warnings.

------------------------------------------------------------------------

https://github.com/krb5/krb5/commit/ebe7603beffc900922002533c15a8bbbc46df813
Commit By: tlyu
Revision: 22029
Changed Files:
U branches/krb5-1-7/src/lib/kadm5/kadm_rpc_xdr.c