From 06e1f0c16efa014716317b3510dfc5306e2559e1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 3 Jun 2008 00:07:43 +0000 Subject: [PATCH] Passing 0 to krb5_build_principal requires a cast git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20355 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kpasswd/ksetpwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.26.2