From: Michael Andres Date: Thu, 21 Nov 2013 08:41:26 +0000 (+0100) Subject: Fix loop size in previous patch (bnc#850907) X-Git-Tag: upstream/14.27.0~200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1febd94eb1213a324cf15f1e5dd7554fffc394d0;p=platform%2Fupstream%2Flibzypp.git Fix loop size in previous patch (bnc#850907) --- diff --git a/zypp/parser/xml/XmlEscape.cc b/zypp/parser/xml/XmlEscape.cc index e30c6b4..7416703 100644 --- a/zypp/parser/xml/XmlEscape.cc +++ b/zypp/parser/xml/XmlEscape.cc @@ -42,7 +42,7 @@ namespace iobind typedef unsigned char uchar; std::string str( istr ); - for_( i, size_t(0), str.size() ) + for ( size_t i = 0; i < str.size(); ++i ) { switch (str[i]) {