aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 3c331e5a..24c38141 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1226,7 +1226,7 @@ static int load_params(int argc, char **argv, int optind)
{
char *cp;
- if (!(cp = strrchr(idp->id, '/')) ||
+ if (!(cp = strrchr((char *)idp->id, '/')) ||
++cp, (0 == strcmp(cp, SMTP_PORT))
|| servport(cp) == SMTP_PORT_NUM)
{