From 04f8d7ec0bc26e5f81730bc643ba6cea74a3ecd5 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Fri, 26 Aug 2011 14:15:22 +0100 Subject: [PATCH] Fix unsigned/signed int comparison in FileOps::toUnixPathSeparators() --- src/FileOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileOps.cpp b/src/FileOps.cpp index d399d24..21d4b49 100644 --- a/src/FileOps.cpp +++ b/src/FileOps.cpp @@ -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] == '\\') {