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; }