summaryrefslogtreecommitdiff
path: root/orkbasecxx/Utils.cpp
diff options
context:
space:
mode:
authorbeg_g <beg_g@09dcff7a-b715-0410-9601-b79a96267cd0>2009-10-22 18:36:21 +0000
committerbeg_g <beg_g@09dcff7a-b715-0410-9601-b79a96267cd0>2009-10-22 18:36:21 +0000
commit431b8771bce2f011e570f32c6d21642394e356a2 (patch)
treebc45730fae26ae2fe31efd96f7f86123a6d219ce /orkbasecxx/Utils.cpp
parent870ec66dd107c077d85e12917ccf17ae3c511548 (diff)
Multiple corrections to code to suppress gcc warnings - identified by Tzafrir Cohen.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@649 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Utils.cpp')
-rw-r--r--orkbasecxx/Utils.cpp2
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)))
{