diff --git a/src/elog.c b/src/elog.c index bf0ef040..cc5727a9 100755 --- a/src/elog.c +++ b/src/elog.c @@ -212,7 +212,7 @@ Encode the given string in-place by adding %XX escapes } } *pd = '\0'; - strlcpy(ps, str, size); + strlcpy(ps, (char *)str, size); } /*------------------------------------------------------------------*/