Skip to content

Commit

Permalink
Add explict cast, to quell compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Castaglia committed Jul 4, 2021
1 parent f1dc344 commit 3738640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings.c
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ static unsigned int process_serveralias(server_rec *s) {
ipbind = elts[i];

pr_trace_msg(trace_channel, 7, "adding ServerAlias '%s' to server '%s'",
c->argv[0], s->ServerName);
(char *) c->argv[0], s->ServerName);

res = pr_namebind_create(s, c->argv[0], ipbind, s->addr, s->ServerPort);
if (res == 0) {
Expand Down

0 comments on commit 3738640

Please sign in to comment.