core: fix warning about unsigned variable (#5935)

Fixup for d8c92e8bc7.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-05-11 02:15:28 -04:00 committed by Martin Pitt
parent 5efd9f72ca
commit 52511fae7b
1 changed files with 2 additions and 1 deletions

View 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 = {};