summaryrefslogtreecommitdiff
path: root/orkbasecxx/MemUtils.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/MemUtils.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/MemUtils.cpp')
-rw-r--r--orkbasecxx/MemUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/orkbasecxx/MemUtils.cpp b/orkbasecxx/MemUtils.cpp
index 5fd8994..6b7740e 100644
--- a/orkbasecxx/MemUtils.cpp
+++ b/orkbasecxx/MemUtils.cpp
@@ -22,7 +22,7 @@
void MemToHex(unsigned char* input, size_t len, CStdString&output)
{
char byteAsHex[10];
- for(int i=0; i<len; i++)
+ for(unsigned int i=0; i<len; i++)
{
sprintf(byteAsHex, "%.2x", input[i]);
output += byteAsHex;