]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/network-internal.c
tree-wide: be more careful with the type of array sizes
[thirdparty/systemd.git] / src / libsystemd-network / network-internal.c
index 78ef1eb3cff8199e8e6679ce23fd0194115ef9d6..620f7115456d8e0263ca956c1fb3c98a2837c7e8 100644 (file)
@@ -83,7 +83,7 @@ static bool net_condition_test_strv(char * const *raw_patterns,
         /* If the patterns begin with "!", edit it out and negate the test. */
         if (raw_patterns[0][0] == '!') {
                 char **patterns;
-                unsigned i, length;
+                size_t i, length;
 
                 length = strv_length(raw_patterns) + 1; /* Include the NULL. */
                 patterns = newa(char*, length);