Misc warning fixes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3583 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
magumagu9
2009-06-28 20:53:26 +00:00
parent 1bcef5be76
commit 7f27cfc9d2
8 changed files with 13 additions and 23 deletions

View File

@ -466,7 +466,7 @@ std::string TabsToSpaces(int tab_size, const std::string &in)
std::string out;
int len = 0;
// First, compute the size of the new string.
for (int i = 0; i < in.size(); i++)
for (unsigned i = 0; i < in.size(); i++)
{
if (in[i] == '\t')
len += tab_size;
@ -475,7 +475,7 @@ std::string TabsToSpaces(int tab_size, const std::string &in)
}
out.resize(len);
int out_ctr = 0;
for (int i = 0; i < in.size(); i++)
for (unsigned i = 0; i < in.size(); i++)
{
if (in[i] == '\t')
{
@ -488,4 +488,4 @@ std::string TabsToSpaces(int tab_size, const std::string &in)
}
}
return out;
}
}