From 158b4153e62df247727fc893fbfe268453188cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 5 Jul 2013 18:32:00 +0200 Subject: [PATCH] GCC 4.4 compatibility: need some explicit typing. --- src/Plugins/MagnumFont/MagnumFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/MagnumFont/MagnumFont.cpp b/src/Plugins/MagnumFont/MagnumFont.cpp index ac655181b..dce9e8d54 100644 --- a/src/Plugins/MagnumFont/MagnumFont.cpp +++ b/src/Plugins/MagnumFont/MagnumFont.cpp @@ -77,7 +77,7 @@ void MagnumFont::doOpenData(const std::vector(data[0].second.begin()), data[0].second.size()}); + std::istringstream in(std::string(reinterpret_cast(data[0].second.begin()), data[0].second.size())); Utility::Configuration conf(in, Utility::Configuration::Flag::SkipComments); if(!conf.isValid() || conf.isEmpty()) { Error() << "Magnum::Text::MagnumFont::openData(): cannot open file" << data[0].first << conf.isValid();