summaryrefslogtreecommitdiffstats
path: root/src/docsets.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-03-06 12:23:15 (GMT)
committerGitHub <noreply@github.com>2021-03-06 12:23:15 (GMT)
commit9136e8c664bc4b0706a9cf419c76b2277b87f4a1 (patch)
tree8a2fd37da2b7764e20eee0edb50bd94730a7db36 /src/docsets.cpp
parentfff2b31cabf76b31ee5b96e4d65a01417a12e412 (diff)
downloadDoxygen-9136e8c664bc4b0706a9cf419c76b2277b87f4a1.zip
Doxygen-9136e8c664bc4b0706a9cf419c76b2277b87f4a1.tar.gz
Doxygen-9136e8c664bc4b0706a9cf419c76b2277b87f4a1.tar.bz2
Correction compilation warnings (#8398)
Correction warnings (64-bit windows) like: warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data - context.cpp also making test a bit better readable Co-authored-by: Dimitri van Heesch <doxygen@gmail.com>
Diffstat (limited to 'src/docsets.cpp')
-rw-r--r--src/docsets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docsets.cpp b/src/docsets.cpp
index 7cb5d31..f7c8c18 100644
--- a/src/docsets.cpp
+++ b/src/docsets.cpp
@@ -201,7 +201,7 @@ void DocSets::finalize()
QCString DocSets::Private::indent()
{
QCString result;
- result.fill(' ',((int)indentStack.size()+2)*2);
+ result.fill(' ',static_cast<int>(indentStack.size()+2)*2);
return result;
}