From: Ken Raeburn Date: Tue, 3 Jun 2008 00:07:43 +0000 (+0000) Subject: Passing 0 to krb5_build_principal requires a cast X-Git-Tag: krb5-1.7-alpha1~666 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06e1f0c16efa014716317b3510dfc5306e2559e1;p=krb5.git Passing 0 to krb5_build_principal requires a cast git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20355 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kpasswd/ksetpwd.c b/src/clients/kpasswd/ksetpwd.c index 2eec39794..41500dd03 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 )