From a543206075d86cc7c4ea3db96b96e94a12cf8c7f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 24 Jul 2016 12:33:51 +0100 Subject: URL unescape: Use size_t for length. --- utils/url.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/url.h') diff --git a/utils/url.h b/utils/url.h index 8bbd68d33..e67d69a4f 100644 --- a/utils/url.h +++ b/utils/url.h @@ -50,6 +50,6 @@ nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus, * \param[out] result unescaped string owned by caller must be freed with free() * \return NSERROR_OK on success */ -nserror url_unescape(const char *str, int length, char **result); +nserror url_unescape(const char *str, size_t length, char **result); #endif -- cgit v1.2.3