summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-04-09 14:13:20 +0000
committerJohn Terpstra <jht@samba.org>1998-04-09 14:13:20 +0000
commitd1cc06083dff66519d2a2418d7cce9916131a6da (patch)
tree748515ae587813a4f5a607ffb10c0c7dafbae57b /source3
parent7c57040da126588dc4bb14051c110718adc3c550 (diff)
downloadsamba-d1cc06083dff66519d2a2418d7cce9916131a6da.tar.gz
samba-d1cc06083dff66519d2a2418d7cce9916131a6da.tar.bz2
samba-d1cc06083dff66519d2a2418d7cce9916131a6da.zip
Added const cast to struct args to get rid of compile time warning.
(This used to be commit 5d956abb4f4ed22671dfb1c7cb51489ab280463f)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index ffa75d7d0b..be032c5c38 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -468,7 +468,7 @@ static char *PAM_password;
* echo off means password.
*/
static int PAM_conv (int num_msg,
- struct pam_message **msg,
+ const struct pam_message **msg,
struct pam_response **resp,
void *appdata_ptr) {
int replies = 0;