diff options
Diffstat (limited to '3rdparty/python-console/ParseHelper.cpp')
-rw-r--r-- | 3rdparty/python-console/ParseHelper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/python-console/ParseHelper.cpp b/3rdparty/python-console/ParseHelper.cpp index 08f0526a..07616f5d 100644 --- a/3rdparty/python-console/ParseHelper.cpp +++ b/3rdparty/python-console/ParseHelper.cpp @@ -51,7 +51,7 @@ bool ParseHelper::PeekIndent( const std::string& str, Indent* indent ) return false; int nonwhitespaceIndex = -1; - for (int i = 0; i < str.size(); ++i) + for (size_t i = 0; i < str.size(); ++i) { if (!isspace(str[i])) { @@ -151,7 +151,7 @@ bool ParseHelper::buffered( ) const void ParseHelper::flush( ) { std::stringstream ss; - for (int i = 0; i < commandBuffer.size(); ++i ) + for (size_t i = 0; i < commandBuffer.size(); ++i ) { ss << commandBuffer[i] << "\n"; } @@ -188,7 +188,7 @@ void ParseHelper::unsubscribeAll( ) void ParseHelper::broadcast( const ParseMessage& msg ) { // broadcast signal - for (int i = 0; i < listeners.size(); ++i) + for (size_t i = 0; i < listeners.size(); ++i) { if (listeners[i]) { |