fixed warnings

This commit is contained in:
Anakin 2016-11-16 14:18:11 +01:00
parent f4d8018f8f
commit 927ce1cd0a
2 changed files with 2 additions and 2 deletions

View File

@ -487,7 +487,7 @@ void Object::analyseSegmChunks(Modl * dataDestination, std::list<ChunkHeader*>&
if (highBitCount == 2)
{
// reset highBitCount
highBitCount == 0;
highBitCount = 0;
// remove the last two values..
std::uint32_t saveData[2];

View File

@ -56,7 +56,7 @@ TextureTGA::TextureTGA(const char * filePath)
{
std::uint8_t tempChunkHeader;
std::uint8_t tempData[5];
int tempByteIndex = 0;
unsigned int tempByteIndex = 0;
std::size_t tempPixelIndex = 0;
do {