From d3528b4e56b0a6f31b728712f62675bfbf9bf5ae Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Mon, 27 Aug 2018 12:26:36 +0200 Subject: [PATCH] + fix: signed/unsigned mismatch compiler issue --- src/Helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Helpers.c b/src/Helpers.c index 6e8cadac4..a59651322 100644 --- a/src/Helpers.c +++ b/src/Helpers.c @@ -1413,7 +1413,7 @@ size_t FormatNumberStr(LPWSTR lpNumberStr) return StringCchLen(lpNumberStr,0); } - if (StringCchLen(lpNumberStr,0) > iPlace[0]) { + if ((int)StringCchLen(lpNumberStr,0) > iPlace[0]) { WCHAR* ch = StrEnd(lpNumberStr,0); @@ -2224,7 +2224,7 @@ void UrlUnescapeEx(LPWSTR lpURL, LPWSTR lpUnescaped, DWORD* pcchUnescaped) } int outLen = (int)LocalSize(outBuffer) - 1; - int posIn = 0; + size_t posIn = 0; WCHAR buf[5] = { L'\0' }; size_t lastEsc = StringCchLenW(lpURL,0) - 2; int code;