From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/bin/file2uri.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'app/bin/file2uri.c') diff --git a/app/bin/file2uri.c b/app/bin/file2uri.c index a9d8f4f..dd690cc 100644 --- a/app/bin/file2uri.c +++ b/app/bin/file2uri.c @@ -20,9 +20,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include -#include -#include "wlib.h" +#include "common.h" static char *reservedChars = "?#[]@!$&'()*+,;= "; @@ -51,7 +49,7 @@ File2URI(char *fileName, unsigned resultLen, char *resultBuffer) } *currentDest = '\0'; - return(strlen(resultBuffer)); + return((unsigned)strlen(resultBuffer)); } unsigned @@ -79,5 +77,5 @@ URI2File(char *encodedFileName, unsigned resultLen, char *resultBuffer) } } *currentDest = '\0'; - return(strlen(resultBuffer)); + return((unsigned)strlen(resultBuffer)); } -- cgit v1.2.3