diff options
Diffstat (limited to '3rdparty/python-console/Utils.h')
-rw-r--r-- | 3rdparty/python-console/Utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/python-console/Utils.h b/3rdparty/python-console/Utils.h index ebd4234f..bbd11a1a 100644 --- a/3rdparty/python-console/Utils.h +++ b/3rdparty/python-console/Utils.h @@ -23,7 +23,7 @@ std::string LongestCommonPrefix( InputIterator begin, InputIterator end ) const std::string& str = *it; for (int j = 0; j <= endIndex; ++j) { - if (j >= str.size() || str[j] != str0[j]) + if (j >= (int)str.size() || str[j] != str0[j]) endIndex = j - 1; } } |