diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2009-02-06 05:22:34 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2009-02-06 05:22:34 +0000 |
| commit | f14989c3ee872225c22024012583986a7db43f06 (patch) | |
| tree | 2ee7d217491243ba85278aa32ef2f33cab37bb7e /src/include | |
| parent | f211cbd5c6cf78c4c80d2893c4a866784059ef6d (diff) | |
| download | krb5-f14989c3ee872225c22024012583986a7db43f06.tar.gz krb5-f14989c3ee872225c22024012583986a7db43f06.tar.xz krb5-f14989c3ee872225c22024012583986a7db43f06.zip | |
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.
ticket: 6374
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21906 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
