From 0739b5f6b9080c19a42d9f2900c1b68e12e98837 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 3 Jan 2021 13:35:31 +0100 Subject: Compilation warning in util.cpp When compiling util.cpp we get (on Windows 64-bit) the warning: ``` util.cpp(1075): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data ``` making it conform other calls. --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index 665df8b..0c6d8fd 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1072,7 +1072,7 @@ void linkifyText(const TextGeneratorIntf &out, const Definition *scope, void writeExamples(OutputList &ol,const ExampleList &list) { - QCString exampleLine=theTranslator->trWriteList(list.size()); + QCString exampleLine=theTranslator->trWriteList((int)list.size()); //bool latexEnabled = ol.isEnabled(OutputGenerator::Latex); //bool manEnabled = ol.isEnabled(OutputGenerator::Man); -- cgit v0.12