udev-rules: use size_t for array index

This commit is contained in:
Yu Watanabe 2019-02-18 09:24:03 +09:00
parent 530727aed8
commit 759fb3a904

View file

@ -676,7 +676,7 @@ static void attr_subst_subdir(char *attr, size_t len) {
static int get_key(char **line, char **key, enum operation_type *op, char **value) {
char *linepos;
char *temp;
unsigned i, j;
size_t i, j;
linepos = *line;
if (!linepos || linepos[0] == '\0')