1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-18 03:33:51 +03:00

examples: Resolve sign-compare warnings

For instance:

hellolibvirt/hellolibvirt.c: In function 'showDomains':
hellolibvirt/hellolibvirt.c💯19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < numNames; i++) {
                   ^

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik
2016-12-20 10:29:52 +01:00
parent 86fd4e305e
commit 3b67fc9f9f
9 changed files with 9 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ int main(int argc, char **argv)
virAdmServerPtr srv = NULL; /* which server to work with */
virTypedParameterPtr params = NULL;
int nparams = 0;
size_t i;
ssize_t i;
if (argc != 2) {
fprintf(stderr, "One argument specifying the server which to work "