From 854a46d0f31439e9d933e584b41cc0b42af01671 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 13 Oct 2020 12:17:14 +0200 Subject: 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. --- addon/doxyparse/doxyparse.cpp | 4 ++-- 1 file 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"); -- cgit v0.12