diff options
author | albert-github <albert.tests@gmail.com> | 2020-10-13 10:17:14 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-10-13 10:17:14 (GMT) |
commit | 854a46d0f31439e9d933e584b41cc0b42af01671 (patch) | |
tree | 5201784415b20b17085de23515c35462fbd425f8 /addon | |
parent | f64705ecdeff9eead62e63f27b2ba88bea87c259 (diff) | |
download | Doxygen-854a46d0f31439e9d933e584b41cc0b42af01671.zip Doxygen-854a46d0f31439e9d933e584b41cc0b42af01671.tar.gz Doxygen-854a46d0f31439e9d933e584b41cc0b42af01671.tar.bz2 |
Compilation warnings in doxyparse
In doxyparse.cpp we got some compilation warnings (Windows 64-bit compiler) like:
```
doxyparse.cpp(299): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
```
these have been eliminated.
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxyparse/doxyparse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp index db05d89..f45dc2f 100644 --- a/addon/doxyparse/doxyparse.cpp +++ b/addon/doxyparse/doxyparse.cpp @@ -163,8 +163,8 @@ static void printPrototypeYes() { static void printNumberOfLines(int lines) { printf(" lines_of_code: %d\n", lines); } -static void printNumberOfArguments(int arguments) { - printf(" parameters: %d\n", arguments); +static void printNumberOfArguments(size_t arguments) { + printf(" parameters: %zu\n", arguments); } static void printUses() { printf(" uses:\n"); |