From b4e1a19b4fb08d91aaafd611d33af135551e0c29 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 12 Feb 2017 22:04:09 +0200 Subject: [PATCH] Clang warning. --HG-- branch : develop --- src/libs/vdxf/dxflib/dl_dxf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vdxf/dxflib/dl_dxf.cpp b/src/libs/vdxf/dxflib/dl_dxf.cpp index c4cf29ed4..eaa80f7b5 100644 --- a/src/libs/vdxf/dxflib/dl_dxf.cpp +++ b/src/libs/vdxf/dxflib/dl_dxf.cpp @@ -2549,7 +2549,7 @@ void DL_Dxf::endSequence(DL_CreationInterface* creationInterface) */ DL_WriterA* DL_Dxf::out(const char* file, DL_Codes::version version) { - const int size = strlen(file)+1; + const size_t size = strlen(file)+1; char* f = new char[size]; strlcpy(f, file, size); // Strange thing the sizeof(f) doesn't return correct value this->version = version;