diff options
author | Ken Raeburn <raeburn@mit.edu> | 2008-06-03 00:07:43 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2008-06-03 00:07:43 +0000 |
commit | 06e1f0c16efa014716317b3510dfc5306e2559e1 (patch) | |
tree | 48cd4b7a7f3c3cdd222a07c1e13e72b7e92cbbf8 /src/clients/kpasswd | |
parent | 72f5f2bd510bec10cb90fcd8491c03dfdaddb6e1 (diff) | |
download | krb5-06e1f0c16efa014716317b3510dfc5306e2559e1.zip krb5-06e1f0c16efa014716317b3510dfc5306e2559e1.tar.gz krb5-06e1f0c16efa014716317b3510dfc5306e2559e1.tar.bz2 |
Passing 0 to krb5_build_principal requires a cast
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20355 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/clients/kpasswd')
-rw-r--r-- | src/clients/kpasswd/ksetpwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/kpasswd/ksetpwd.c b/src/clients/kpasswd/ksetpwd.c index 2eec397..41500dd 100644 --- a/src/clients/kpasswd/ksetpwd.c +++ b/src/clients/kpasswd/ksetpwd.c @@ -61,7 +61,7 @@ static kbrccache_t userinitcontext( if( kres ) goto return_error; if( domain ) - kres = krb5_build_principal( kcontext, &kme, strlen(domain), domain, user, 0 ); + kres = krb5_build_principal( kcontext, &kme, strlen(domain), domain, user, (char *) 0 ); else kres = krb5_parse_name( kcontext, user, &kme ); if( kres ) |