Skip to content

Commit

Permalink
remove warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zunda-arrow committed May 18, 2024
1 parent 6232e5c commit 8fdd43b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login/login.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ static int conv_callback(
(*resp)[i].resp = strdup(password);
break;
case PAM_ERROR_MSG:
handlePamErrorMessage(msg[i]->msg);
handlePamErrorMessage((char*) msg[i]->msg);
result = PAM_CONV_ERR;
break;
case PAM_TEXT_INFO:
handlePamTextInfo(msg[i]->msg);
handlePamTextInfo((char*) msg[i]->msg);
break;
}
if (result != PAM_SUCCESS) {
Expand Down

0 comments on commit 8fdd43b

Please sign in to comment.