From e75db8aede2b545812e503b646e0eed954d62b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 20 Jul 2012 21:47:42 +0200 Subject: [PATCH] Don't use C-style casts. --- src/Plugins/TgaImporter/TgaImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/TgaImporter/TgaImporter.cpp b/src/Plugins/TgaImporter/TgaImporter.cpp index 97c96e756..fe9f8fc86 100644 --- a/src/Plugins/TgaImporter/TgaImporter.cpp +++ b/src/Plugins/TgaImporter/TgaImporter.cpp @@ -81,7 +81,7 @@ bool TgaImporter::open(istream& in, const string& name) { components = AbstractImage::Components::BGRA; break; default: - Error() << "TgaImporter: unsupported bits-per-pixel:" << (int) header.bpp; + Error() << "TgaImporter: unsupported bits-per-pixel:" << int(header.bpp); return false; }