summaryrefslogtreecommitdiff
path: root/systemctl.vala
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-03 14:26:55 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-03 14:26:55 +0100
commit17d37c285760390133fced2f347193838042f059 (patch)
treedd74db0c602230453870ffd05d444de0177b7ddd /systemctl.vala
parent82ba9f087d96370b89ce4b635784e65f7cbd390c (diff)
systemadm: fix signed comparison issue
Diffstat (limited to 'systemctl.vala')
-rw-r--r--systemctl.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemctl.vala b/systemctl.vala
index 2779790b52..fecb687dde 100644
--- a/systemctl.vala
+++ b/systemctl.vala
@@ -120,7 +120,7 @@ int main (string[] args) {
return 1;
}
- for (uint i = 2; i < args.length; i++)
+ for (int i = 2; i < args.length; i++)
manager.load_unit(args[i]);
} else if (args[1] == "cancel") {
@@ -130,7 +130,7 @@ int main (string[] args) {
return 1;
}
- for (uint i = 2; i < args.length; i++) {
+ for (int i = 2; i < args.length; i++) {
uint32 id;
if (args[i].scanf("%u", out id) != 1) {