diff options
Diffstat (limited to 'pjlib-util/src/pjlib-util/string.c')
-rw-r--r-- | pjlib-util/src/pjlib-util/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib-util/src/pjlib-util/string.c b/pjlib-util/src/pjlib-util/string.c index 860d1bca..f37e71e8 100644 --- a/pjlib-util/src/pjlib-util/string.c +++ b/pjlib-util/src/pjlib-util/string.c @@ -31,7 +31,7 @@ PJ_DEF(pj_str_t) pj_str_unescape( pj_pool_t *pool, const pj_str_t *src_str) if (pj_strchr(src_str, '%')==NULL) return *src_str; - dst = dst_str.ptr = pj_pool_alloc(pool, src_str->slen); + dst = dst_str.ptr = (char*) pj_pool_alloc(pool, src_str->slen); while (src != end) { if (*src == '%' && src < end-2 && pj_isxdigit(*(src+1)) && |