diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2009-09-17 21:26:22 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2009-10-04 10:48:39 +0200 |
commit | 30d52bc6e985b84be8543219dcef0cf1a9a5f426 (patch) | |
tree | 56ce8a0e0a9eea0ef4471f8227f2b8bb3afb3873 /orkbasecxx/Utils.cpp | |
parent | 2beb76edfb910062faa47e0c30bb9ab9f9c1c4ec (diff) |
fix most warnings in orkbasecxx
Fixed instances of:
* Unused variables
* signed/unsigned comparisons
* Use some more 'const'
* Disabled '#pragma warning'
Diffstat (limited to 'orkbasecxx/Utils.cpp')
-rw-r--r-- | orkbasecxx/Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orkbasecxx/Utils.cpp b/orkbasecxx/Utils.cpp index f06d673..656a3ce 100644 --- a/orkbasecxx/Utils.cpp +++ b/orkbasecxx/Utils.cpp @@ -234,7 +234,7 @@ void FileEscapeName(CStdString& in, CStdString& out) // Translates all the characters that are not in file_ok_chars string into %xx sequences // %xx specifies the character ascii code in hexadecimal out = ""; - for (int i = 0 ; i<in.size() ; i++) + for (unsigned int i = 0 ; i<in.size() ; i++) { if (strchr(file_ok_chars, in.GetAt(i))) { |