projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0261b77
)
scanner.l: use size_t for 2 variables
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:43:09 +0000
(16:43 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:43:09 +0000
(16:43 +0200)
src/liboconfig/scanner.l
patch
|
blob
|
history
diff --git
a/src/liboconfig/scanner.l
b/src/liboconfig/scanner.l
index
a9c733e
..
be6d678
100644
(file)
--- 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)