]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools: fix gcc sign-compare warnings
authorGeorg Schiesser <georg.schiesser@opentech.at>
Tue, 10 May 2016 21:40:10 +0000 (23:40 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 11 May 2016 05:43:24 +0000 (07:43 +0200)
commit45d9631b6498761bf82e9da8fb1c9b236eb129ed
treee42e3b4d4868b4e1f3f64541c5c1f62645c79569
parent92b38b33c48f7cc9fc51d920dcbc440a9ae0fb69
tools: fix gcc sign-compare warnings

Cosmetic change to avoid multiple gcc sign-compare warnings between
signed int argc and unsigned int arg_num, both being small and
non-negative. Alternatively, we could use unsigned int argc or
disable the warning with gcc -Wno-sign-compare.

Signed-off-by: Georg Schiesser <georg.schiesser@opentech.at>
[Jan: reordered lines for visual pleasure]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse.c