Fixed compiler warning

SVN revision: 2055
This commit is contained in:
Stefan Ritt 2008-02-22 08:06:32 +00:00
parent 59fcd92412
commit bd8689f674

View File

@ -212,7 +212,7 @@ Encode the given string in-place by adding %XX escapes
} }
} }
*pd = '\0'; *pd = '\0';
strlcpy(ps, str, size); strlcpy(ps, (char *)str, size);
} }
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/