1
0

Fixed a few MSVC type warnings.

This commit is contained in:
Mattes D
2014-04-03 09:27:17 +02:00
parent 12b82de502
commit 25529ba62f
3 changed files with 5 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ void cBlockArea::DumpToRawFile(const AString & a_FileName)
f.Write(&SizeX, 4);
f.Write(&SizeY, 4);
f.Write(&SizeZ, 4);
unsigned char DataTypes = GetDataTypes();
unsigned char DataTypes = (unsigned char)GetDataTypes();
f.Write(&DataTypes, 1);
int NumBlocks = GetBlockCount();
if (HasBlockTypes())