From 5d956abb4f4ed22671dfb1c7cb51489ab280463f Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Thu, 9 Apr 1998 14:13:20 +0000 Subject: [PATCH] Added const cast to struct args to get rid of compile time warning. --- source/smbd/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/password.c b/source/smbd/password.c index ffa75d7d0bc..be032c5c381 100644 --- a/source/smbd/password.c +++ b/source/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;