]> Pileus Git - ~andy/fetchmail/commitdiff
Quiet compiler warning.
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 4 Jan 2006 16:07:25 +0000 (16:07 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Wed, 4 Jan 2006 16:07:25 +0000 (16:07 -0000)
svn path=/branches/BRANCH_6-3/; revision=4599

fetchmail.c

index 3c331e5aafba6ed1a79ebdc1c1f16fec076125dd..24c38141c7b02db38f9c9868dae89082d513d851 100644 (file)
@@ -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)
                    {