git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
src/pam warning fixes
[openafs.git]
/
src
/
pam
/
afs_setcred.c
diff --git
a/src/pam/afs_setcred.c
b/src/pam/afs_setcred.c
index
52e0310
..
dcafc91
100644
(file)
--- a/
src/pam/afs_setcred.c
+++ b/
src/pam/afs_setcred.c
@@
-106,7
+106,7
@@
pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv)
pam_afs_syslog(LOG_ERR, PAMAFS_OTHERCELL,
"cell missing argument");
} else {
- cell_ptr = argv[i];
+ cell_ptr = (char *)argv[i];
pam_afs_syslog(LOG_INFO, PAMAFS_OTHERCELL, cell_ptr);
}
} else if (strcasecmp(argv[i], "no_unlog") == 0) {