diff --git a/thirdparty/dxflib_qcad/dl_dxf.cpp b/thirdparty/dxflib_qcad/dl_dxf.cpp index b126a7d87b..16d4bee4f4 100644 --- a/thirdparty/dxflib_qcad/dl_dxf.cpp +++ b/thirdparty/dxflib_qcad/dl_dxf.cpp @@ -370,7 +370,7 @@ bool DL_Dxf::getStrippedLine( std::string& s, unsigned int size, bool DL_Dxf::stripWhiteSpace( char** s, bool stripSpace ) { // last non-NULL char: - int lastChar = strlen( *s ) - 1; + std::size_t lastChar = strlen( *s ) - 1; // Is last character CR or LF? while( (lastChar >= 0) @@ -2295,7 +2295,7 @@ void DL_Dxf::addHatch( DL_CreationInterface* creationInterface ) for( unsigned int i = 0; iaddHatchLoop( DL_HatchLoopData( hatchEdges[i].size() ) ); + creationInterface->addHatchLoop( DL_HatchLoopData( static_cast( hatchEdges[i].size() ) ) ); for( unsigned int k = 0; k