Clang warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-07-06 19:07:53 +03:00
parent 36d6e8e408
commit 9ff99ab357

View File

@ -149,7 +149,7 @@ bool dxfReaderBinary::readInt32() {
char buffer[4]; char buffer[4];
filestr->read(buffer,4); filestr->read(buffer,4);
int32p = reinterpret_cast<unsigned int *>(buffer); int32p = reinterpret_cast<unsigned int *>(buffer);
intData = *int32p; intData = static_cast<signed int>(*int32p);
DRW_DBG(intData); DRW_DBG("\n"); DRW_DBG(intData); DRW_DBG("\n");
return (filestr->good()); return (filestr->good());
} }