diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-02-18 09:24:03 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-02-18 09:24:03 +0900 |
commit | 759fb3a904277d24d75e2c0541b0e988db660ac8 (patch) | |
tree | 5761bc9b589445ed3803a71ff91633a9d59ea355 /src/udev/udev-rules.c | |
parent | 530727aed8bad2657c2b606bc45f98d7bc0fe2ad (diff) | |
download | systemd-759fb3a904277d24d75e2c0541b0e988db660ac8.tar.gz systemd-759fb3a904277d24d75e2c0541b0e988db660ac8.tar.bz2 systemd-759fb3a904277d24d75e2c0541b0e988db660ac8.zip |
udev-rules: use size_t for array index
Diffstat (limited to 'src/udev/udev-rules.c')
-rw-r--r-- | src/udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index e4fff94081..c63af7cb4b 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -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') |