]> git.tdb.fi Git - libs/core.git/blobdiff - source/latin1.cpp
Corrected style errors
[libs/core.git] / source / latin1.cpp
index b95b01187ea978c63d9aa8f3858a252bfe36a77b..fe9e1a4170e1893d86574d2f916c3b7722e5f369 100644 (file)
@@ -15,7 +15,7 @@ void Latin1::Decoder::decode_char(const string &str, string::const_iterator &i)
 {
        if(i==str.end())
                return;
-       append((unsigned char)*i++);
+       append(static_cast<unsigned char>(*i++));
 }
 
 } // namespace Msp