diff options
| author | Alexandra Ellwood <lxs@mit.edu> | 2008-05-30 18:28:35 +0000 |
|---|---|---|
| committer | Alexandra Ellwood <lxs@mit.edu> | 2008-05-30 18:28:35 +0000 |
| commit | 4c500636f470bab30dcfdb6271ccdc575c09967c (patch) | |
| tree | 6b74d18659af95a76edb8be47b4d1f7921035996 /src/ccapi | |
| parent | 94ae54563eeea9c657eb603651d0d32e535c7a23 (diff) | |
| download | krb5-4c500636f470bab30dcfdb6271ccdc575c09967c.tar.gz krb5-4c500636f470bab30dcfdb6271ccdc575c09967c.tar.xz krb5-4c500636f470bab30dcfdb6271ccdc575c09967c.zip | |
Warnings in server_stubs.c (signed vs unsigned errmsg, gcc printf)
server_stubs.c uses char * for error messages which it gets from com_err,
throwing away the constness of the com_err output. Made error message args
be const char * to remove warnings and prevent accidental modification of
com_err strings.
In calls to krb5_klog_syslog server_stubs.c passes void* into %s printf
formats and passes size_ts in for the field widths in %.*s formats. After
verifying that the size_ts cannot be bigger than ints (which is ensured by
trunc_name) added casts to remove spurious warnings.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20344 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi')
0 files changed, 0 insertions, 0 deletions
