summaryrefslogtreecommitdiffstats
path: root/src/debug.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-07-06 13:20:19 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-07-06 13:20:19 (GMT)
commit044fde94fc0ff1dfba618a72dbee286afa755405 (patch)
treeb64b763b49baa004fc15859dd359d3615e79b4c6 /src/debug.h
parent8c12604a84faabf6beeef7f159692ccddcb94dc6 (diff)
downloadDoxygen-044fde94fc0ff1dfba618a72dbee286afa755405.zip
Doxygen-044fde94fc0ff1dfba618a72dbee286afa755405.tar.gz
Doxygen-044fde94fc0ff1dfba618a72dbee286afa755405.tar.bz2
Compilation warning in debug.cpp
When compiling debug.cpp on a 32-bit Windows system we get the warning: ``` ...\doxygen\src\debug.cpp(121): warning C4244: 'return': conversion from '_Rep' to 'int', possible loss of data with [ _Rep=__int64 ] ``` as we only use the seconds representation of the elapsed time we can do the conversion to seconds in the Timer class.
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h
index 0c046f4..edc95e2 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -47,7 +47,7 @@ class Debug
static void setPriority(int p);
static void startTimer();
- static int elapsedTime();
+ static double elapsedTime();
private:
static DebugMask curMask;