use size_t instead of int where it's appropriate

This commit is contained in:
Andrzej Rybczak
2008-11-06 20:07:42 +01:00
parent 2fcd43dd3b
commit c64e3a9b3b
9 changed files with 38 additions and 37 deletions

View File

@@ -32,7 +32,7 @@ namespace
{
void GetKeys(string line, int *key)
{
int i = line.find("=")+1;
size_t i = line.find("=")+1;
line = line.substr(i, line.length()-i);
i = 0;
if (line[i] == ' ')