Added const cast to struct args to get rid of compile time warning.
authorJohn Terpstra <jht@samba.org>
Thu, 9 Apr 1998 14:13:20 +0000 (14:13 +0000)
committerJohn Terpstra <jht@samba.org>
Thu, 9 Apr 1998 14:13:20 +0000 (14:13 +0000)
(This used to be commit 5d956abb4f4ed22671dfb1c7cb51489ab280463f)

source3/smbd/password.c

index ffa75d7d0bc37b6d1d8e1f6f52e469349cd83926..be032c5c381cf5bcafcab13b221ba1c3b67d6669 100644 (file)
@@ -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;