diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
commit | d0ca838c7ab297036b4a7c45351761a48fe05efd (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/bin/file2uri.c | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
Update upstream source from tag 'upstream/5.2.2GA'
Update to upstream version '5.2.2GA'
with Debian dir 9c80045d0b4f9e463647bc8af8c090a673df4132
Diffstat (limited to 'app/bin/file2uri.c')
-rw-r--r-- | app/bin/file2uri.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <string.h> -#include <stdio.h> -#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)); } |