Fix unsigned/signed int comparison in FileOps::toUnixPathSeparators()

This commit is contained in:
Robert Knight 2011-08-26 14:15:22 +01:00
parent bf56d5a2fe
commit 04f8d7ec0b

View file

@ -358,7 +358,7 @@ int FileOps::toUnixPermissions(int qtPermissions)
std::string FileOps::toUnixPathSeparators(const std::string& str)
{
std::string result = str;
for (int i=0; i < result.size(); i++)
for (size_t i=0; i < result.size(); i++)
{
if (result[i] == '\\')
{