summaryrefslogtreecommitdiffstats
path: root/src/core/execute.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-05-11 08:15:28 +0200
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-05-11 08:15:28 +0200
commit52511fae7befd356de8ef824d8302aaef47dd849 (patch)
tree92db48982d3f6590cd71be7272305dbc839f5dce /src/core/execute.c
parenthwdb: add the X200/X201 to the existing X201s entry (#5934) (diff)
downloadsystemd-52511fae7befd356de8ef824d8302aaef47dd849.tar.xz
systemd-52511fae7befd356de8ef824d8302aaef47dd849.zip
core: fix warning about unsigned variable (#5935)
Fixup for d8c92e8bc7351f553936b5235e1922c18ebd817a.
Diffstat (limited to '')
-rw-r--r--src/core/execute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index e97651105e..786096861a 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -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 = {};