--- libaitio/src/Attic/url.c 2011/02/10 22:01:34 1.4 +++ libaitio/src/Attic/url.c 2011/03/16 16:44:52 1.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: url.c,v 1.4 2011/02/10 22:01:34 misho Exp $ +* $Id: url.c,v 1.5 2011/03/16 16:44:52 misho Exp $ * *************************************************************************/ #include "global.h" @@ -138,7 +138,7 @@ io_MakeArray(char * __restrict psArgs, const char *csD } else memset(*args, 0, sizeof(char*) * nargs); - for (i = 0, app = *args; app < *args + nargs && (*app = strsep(&psArgs, csDelim)); + for (i = 0, app = *args; app < *args + nargs && (*app = strsep((char **) &psArgs, csDelim)); **app ? i++ : i, **app ? app++ : app); return i; }