From e3c636337323ba6e3f21bf1e8cfe2a899a8890c1 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 10 Feb 2014 21:50:01 +0100 Subject: [PATCH] fixed compile issue on Linux --- src/xmlgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index bb0925e4d36..3a9e2efe2a2 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1910,7 +1910,7 @@ void generateXML() if (len>0) { QCString s(len+1); - strlcpy(s.data(),startLine,len); + qstrncpy(s.data(),startLine,len); s[len]='\0'; if (s.find("")!=-1) {