summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cite.cpp2
-rw-r--r--src/index.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cite.cpp b/src/cite.cpp
index 7b6452e..4adf6f2 100644
--- a/src/cite.cpp
+++ b/src/cite.cpp
@@ -333,7 +333,7 @@ void CitationManager::generatePage()
// so no problem.
for (size_t j = 1; j <= citeDataList.size(); j++)
{
- thisDir.remove(bibOutputDir + bibTmpFile + QCString().setNum(j) + ".bib");
+ thisDir.remove(bibOutputDir + bibTmpFile + QCString().setNum(static_cast<ulong>(j)) + ".bib");
}
thisDir.rmdir(bibOutputDir);
}
diff --git a/src/index.cpp b/src/index.cpp
index 54fa90b..04d6ce4 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3988,7 +3988,7 @@ static void writeGroupTreeNode(OutputList &ol, GroupDef *gd, int level, FTVHelp*
numSubItems += gd->getNamespaces()->count();
numSubItems += gd->getClasses()->count();
numSubItems += gd->getFiles()->count();
- numSubItems += gd->getDirs().size();
+ numSubItems += static_cast<int>(gd->getDirs().size());
numSubItems += gd->getPages()->count();
}