aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/python-console/Utils.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-28 17:56:44 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-28 17:57:26 +0200
commit1676b285ae726eb858d4d7ed089496133ce3de4b (patch)
treeb7c2a9a59c2a9a0377d266567e545f5a1c23ae58 /3rdparty/python-console/Utils.h
parent2037fff7426e252a8692b971f88689c1dd8c03e8 (diff)
downloadnextpnr-1676b285ae726eb858d4d7ed089496133ce3de4b.tar.gz
nextpnr-1676b285ae726eb858d4d7ed089496133ce3de4b.tar.bz2
nextpnr-1676b285ae726eb858d4d7ed089496133ce3de4b.zip
adapted python-console for easier use
Diffstat (limited to '3rdparty/python-console/Utils.h')
-rw-r--r--3rdparty/python-console/Utils.h2
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;
}
}