diff options
author | Stefan Radomski <sradomski@mintwerk.de> | 2016-02-24 10:50:32 (GMT) |
---|---|---|
committer | Stefan Radomski <sradomski@mintwerk.de> | 2016-02-24 10:50:32 (GMT) |
commit | cf19f11b8d2bd6d9566c7528fbed40af06928abf (patch) | |
tree | a373b8e934fa78a1bf9db8afca2e9854437e45da /src/uscxml/debug/DebugSession.cpp | |
parent | 7212d5a3dbbd2845d09df96b2c345132c8a24931 (diff) | |
download | uscxml-cf19f11b8d2bd6d9566c7528fbed40af06928abf.zip uscxml-cf19f11b8d2bd6d9566c7528fbed40af06928abf.tar.gz uscxml-cf19f11b8d2bd6d9566c7528fbed40af06928abf.tar.bz2 |
Some more refactoring and VHDL transformation
Diffstat (limited to 'src/uscxml/debug/DebugSession.cpp')
-rw-r--r-- | src/uscxml/debug/DebugSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/debug/DebugSession.cpp b/src/uscxml/debug/DebugSession.cpp index 4d8fda5..6e81563 100644 --- a/src/uscxml/debug/DebugSession.cpp +++ b/src/uscxml/debug/DebugSession.cpp @@ -72,7 +72,7 @@ void DebugSession::breakExecution(Data replyData) { tthread::lock_guard<tthread::recursive_mutex> lock(_mutex); Arabica::XPath::NodeSet<std::string> basicConf = _interpreter.getBasicConfiguration(); - for (int i = 0; i < basicConf.size(); i++) { + for (size_t i = 0; i < basicConf.size(); i++) { Arabica::DOM::Element<std::string> element = Arabica::DOM::Element<std::string>(basicConf[i]); if (element.hasAttribute("id")) { replyData.compound["basicStates"].array.push_back(Data(element.getAttribute("id"), Data::VERBATIM)); @@ -80,7 +80,7 @@ void DebugSession::breakExecution(Data replyData) { } Arabica::XPath::NodeSet<std::string> activeConf = _interpreter.getConfiguration(); - for (int i = 0; i < activeConf.size(); i++) { + for (size_t i = 0; i < activeConf.size(); i++) { Arabica::DOM::Element<std::string> element = Arabica::DOM::Element<std::string>(activeConf[i]); if (element.hasAttribute("id")) { replyData.compound["activeStates"].array.push_back(Data(element.getAttribute("id"), Data::VERBATIM)); |