diff --git a/src/external/u3d/src/IDTF/Converter.cpp b/src/external/u3d/src/IDTF/Converter.cpp index 72c829897..489fd9669 100644 --- a/src/external/u3d/src/IDTF/Converter.cpp +++ b/src/external/u3d/src/IDTF/Converter.cpp @@ -70,6 +70,7 @@ bool IDTFToU3d( int& resCode, int positionQuality) { + std::string pq(std::to_string(positionQuality)); const char* argv[] = { #ifndef WIN32 "IDTFConverter", @@ -81,7 +82,7 @@ bool IDTFToU3d( "-rzf", "0", "-pq", - std::to_string(positionQuality).c_str(), + pq.c_str(), "-input", inputFileName.c_str(), "-output",