From: Ondrej Kozina Date: Tue, 12 Mar 2013 17:44:38 +0000 (+0100) Subject: - use static_cast in operator<<(ostream, xa_value_t) X-Git-Tag: v0.1.3~18^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d12a3cea372ae8f7dbac731824d4581eb148c1a0;p=thirdparty%2Fsnapper.git - use static_cast in operator<<(ostream, xa_value_t) --- diff --git a/snapper/XAttributes.cc b/snapper/XAttributes.cc index 4eac551b..d37ac7c6 100644 --- a/snapper/XAttributes.cc +++ b/snapper/XAttributes.cc @@ -142,7 +142,7 @@ namespace snapper while (cit != xavalue.end()) { - out << '<' << pos++ << '>' << *cit; + out << '<' << pos++ << '>' << static_cast(*cit); if (++cit != xavalue.end()) out << ':'; }