]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: fix warning about unsigned variable (#5935)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 May 2017 06:15:28 +0000 (02:15 -0400)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Thu, 11 May 2017 06:15:28 +0000 (08:15 +0200)
Fixup for d8c92e8bc7351f553936b5235e1922c18ebd817a.

src/core/execute.c

index e97651105ee2f82067df361b21c49187aac09b58..786096861aaf0fb6044dbcab05d27283ccab55ac 100644 (file)
@@ -3236,7 +3236,8 @@ int exec_context_load_environment(Unit *unit, const ExecContext *c, char ***l) {
 
         STRV_FOREACH(i, c->environment_files) {
                 char *fn;
-                int k, n;
+                int k;
+                unsigned n;
                 bool ignore = false;
                 char **p;
                 _cleanup_globfree_ glob_t pglob = {};