]> git.ipfire.org Git - thirdparty/krb5.git/commit
Harmonize struct packing for gic_opt.c 407/head
authorTom Yu <tlyu@mit.edu>
Wed, 17 Feb 2016 20:58:24 +0000 (15:58 -0500)
committerTom Yu <tlyu@mit.edu>
Wed, 17 Feb 2016 23:19:33 +0000 (18:19 -0500)
commitf162f792e04541a5158b791523b82a60a9d80913
treea9077439240479df0cc868c2df991bdd586ff3ce
parent457a4ac5057d44c0c947efc3c047c32897b54747
Harmonize struct packing for gic_opt.c

struct extended_options in gic_opt.c extends krb5_get_init_creds_opt.
On Mac OS X, for historical reasons, we define krb5_get_init_creds_opt
with an alignment/packing of 2, conflicting with the compiler default.
This results in alignment change warnings from clang on Mac OS X.
Ensure that extended_options has the same packing.
src/lib/krb5/krb/gic_opt.c