projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scanner.l: use size_t for 2 variables
[collectd.git]
/
src
/
liboconfig
/
scanner.l
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)