summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-08-17 17:35:03 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-08-17 17:35:03 (GMT)
commit2f426ac495f4234b97649a591314fe695691cf99 (patch)
tree4b20b25865780bf5f27525fdafd8a2dc71bdab32 /src/doxygen.cpp
parente61a4fb14adedcbffdb0f1627295ade83db34484 (diff)
downloadDoxygen-2f426ac495f4234b97649a591314fe695691cf99.zip
Doxygen-2f426ac495f4234b97649a591314fe695691cf99.tar.gz
Doxygen-2f426ac495f4234b97649a591314fe695691cf99.tar.bz2
Format for size_t (in e.g. warnings)
From the C standard paragraph 7.21.6.1 The fprintf function ``` z Specifies that a following d, i, o, u, x, or X conversion specifier applies to a size_t or the corresponding signed integer type argument; or that a following n conversion specifier applies to a pointer to a signed integer type corresponding to size_t argument. ```
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index fdc81fe..4f6e1cf 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9237,7 +9237,7 @@ static void parseFilesMultiThreading(const std::shared_ptr<Entry> &root)
#endif
{
std::size_t numThreads = std::thread::hardware_concurrency();
- msg("Processing input using %lu threads.\n",numThreads);
+ msg("Processing input using %zu threads.\n",numThreads);
ThreadPool threadPool(numThreads);
using FutureType = std::shared_ptr<Entry>;
std::vector< std::future< FutureType > > results;