diff options
author | Underground78 <underground78@users.sourceforge.net> | 2011-08-11 00:08:23 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2011-08-11 00:08:23 +0400 |
commit | 8caf4b5aaf91b5ffabc65d2ac2f000d8603ba233 (patch) | |
tree | 9abcc8e8d78463d09ff1b69ec0443c71361a55e1 /src/DSUtil/text.cpp | |
parent | 3f21c3923cc0793b068cf74094225dabbd5c7dbb (diff) |
Fix ~130 C4018 warnings (signed/unsigned mismatch).
Patch partially by XhmikosR.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3637 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/text.cpp')
-rw-r--r-- | src/DSUtil/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSUtil/text.cpp b/src/DSUtil/text.cpp index cf953105c..623609e9c 100644 --- a/src/DSUtil/text.cpp +++ b/src/DSUtil/text.cpp @@ -112,7 +112,7 @@ CStringA UrlEncode(CStringA str, bool fRaw) {
CStringA urlstr;
- for(size_t i = 0; i < str.GetLength(); i++) {
+ for(int i = 0; i < str.GetLength(); i++) {
CHAR c = str[i];
if(fRaw && c == '+') {
urlstr += "%2B";
|