From: Ruben Kerkhof Date: Thu, 31 May 2018 14:43:09 +0000 (+0200) Subject: scanner.l: use size_t for 2 variables X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f96dc61ae9a30e70d4007e496662c2a7188e48f7;p=collectd.git scanner.l: use size_t for 2 variables --- diff --git a/src/liboconfig/scanner.l b/src/liboconfig/scanner.l index a9c733e3..be6d6782 100644 --- a/src/liboconfig/scanner.l +++ b/src/liboconfig/scanner.l @@ -41,8 +41,8 @@ /* multiline string buffer */ static char *ml_buffer = NULL; -static int ml_pos = 0; -static int ml_len = 0; +static size_t ml_pos = 0; +static size_t ml_len = 0; #define ml_free (ml_len - ml_pos)