From 9ff99ab3578d3317fee5c2b12fe29989c1e61dfd Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 6 Jul 2017 19:07:53 +0300 Subject: [PATCH] Clang warning. --HG-- branch : develop --- src/libs/vdxf/libdxfrw/intern/dxfreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }