mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-10 06:31:49 +00:00
Fix unsigned/signed int comparison in FileOps::toUnixPathSeparators()
This commit is contained in:
parent
bf56d5a2fe
commit
04f8d7ec0b
1 changed files with 1 additions and 1 deletions
|
@ -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] == '\\')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue