diff --git a/src/libs/vdxf/libdxfrw/intern/dxfreader.cpp b/src/libs/vdxf/libdxfrw/intern/dxfreader.cpp index 15f5e6991..efd80cc93 100644 --- a/src/libs/vdxf/libdxfrw/intern/dxfreader.cpp +++ b/src/libs/vdxf/libdxfrw/intern/dxfreader.cpp @@ -149,7 +149,7 @@ bool dxfReaderBinary::readInt32() { char buffer[4]; filestr->read(buffer,4); int32p = reinterpret_cast(buffer); - intData = *int32p; + intData = static_cast(*int32p); DRW_DBG(intData); DRW_DBG("\n"); return (filestr->good()); }