summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-30 12:58:45 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-12-30 12:58:45 (GMT)
commit62f341f2ff134f65aa9ccb10056d40bcefbb167f (patch)
tree8731c24faa08942cfcef930d4a273a4a065ec888
parent04e2efa6baab890db78583584334074110ea1620 (diff)
downloadDoxygen-62f341f2ff134f65aa9ccb10056d40bcefbb167f.zip
Doxygen-62f341f2ff134f65aa9ccb10056d40bcefbb167f.tar.gz
Doxygen-62f341f2ff134f65aa9ccb10056d40bcefbb167f.tar.bz2
Fix size_t->int related compiler warnings on Windows 64bit
-rw-r--r--src/index.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 5700e10..52254f6 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2937,7 +2937,7 @@ struct CmhlInfo
QCString title;
};
-static const CmhlInfo *getCmhlInfo(int hl)
+static const CmhlInfo *getCmhlInfo(size_t hl)
{
static bool fortranOpt = Config_getBool(OPTIMIZE_FOR_FORTRAN);
static bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
@@ -3114,7 +3114,7 @@ struct FmhlInfo
QCString title;
};
-static const FmhlInfo *getFmhlInfo(int hl)
+static const FmhlInfo *getFmhlInfo(size_t hl)
{
static bool fortranOpt = Config_getBool(OPTIMIZE_FOR_FORTRAN);
static bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
@@ -3285,7 +3285,7 @@ struct NmhlInfo
QCString title;
};
-static const NmhlInfo *getNmhlInfo(int hl)
+static const NmhlInfo *getNmhlInfo(size_t hl)
{
static bool fortranOpt = Config_getBool(OPTIMIZE_FOR_FORTRAN);
static bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
@@ -4855,7 +4855,7 @@ template<class T,std::size_t total>
void renderMemberIndicesAsJs(FTextStream &t,
const int *numDocumented,
const std::array<MemberIndexMap,total> &memberLists,
- const T *(*getInfo)(int hl))
+ const T *(*getInfo)(size_t hl))
{
// index items per category member lists
bool firstMember=TRUE;