projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f5f2b
)
Passing 0 to krb5_build_principal requires a cast
author
Ken Raeburn
<raeburn@mit.edu>
Tue, 3 Jun 2008 00:07:43 +0000
(
00:07
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Tue, 3 Jun 2008 00:07:43 +0000
(
00:07
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20355
dc483132
-0cff-0310-8789-
dd5450dbe970
src/clients/kpasswd/ksetpwd.c
patch
|
blob
|
history
diff --git
a/src/clients/kpasswd/ksetpwd.c
b/src/clients/kpasswd/ksetpwd.c
index 2eec397944315e244a356210db8f126fd4ac5a2b..41500dd03729e38f2497de435eb7b009e1b873d4 100644
(file)
--- 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 )