]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- use static_cast in operator<<(ostream, xa_value_t)
authorOndrej Kozina <okozina@redhat.com>
Tue, 12 Mar 2013 17:44:38 +0000 (18:44 +0100)
committerOndrej Kozina <okozina@redhat.com>
Tue, 12 Mar 2013 17:44:38 +0000 (18:44 +0100)
snapper/XAttributes.cc

index 4eac551b7d3886cf458ed322d8e9aa6fe2045d6e..d37ac7c63d7df6d9ace9744a4af7e67f413b5e32 100644 (file)
@@ -142,7 +142,7 @@ namespace snapper
 
         while (cit != xavalue.end())
         {
-            out << '<' << pos++ << '>' << *cit;
+            out << '<' << pos++ << '>' << static_cast<int>(*cit);
             if (++cit != xavalue.end())
                 out << ':';
         }