Fix warnings in TGAReader

This commit is contained in:
Ryan Huffman 2019-03-08 14:01:29 -08:00
parent 1f0a8b18c8
commit 62f17acaf7

View file

@ -50,9 +50,10 @@ QImage image::readTGA(QIODevice& content) {
};
constexpr bool WANT_DEBUG { false };
constexpr size_t TGA_HEADER_SIZE_BYTES { 18 };
constexpr qint64 TGA_HEADER_SIZE_BYTES { 18 };
// BottomLeft: 0, TopLeft: 1
constexpr uint8_t ORIENTATION_BOTTOM_LEFT { 0 };
constexpr uint8_t ORIENTATION_TOP_LEFT { 1 };
TGAHeader header;