From be1c0f26fc9d0eee7eff330acc4738224253cc3e Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 25 Aug 2019 15:22:37 +0200 Subject: comparison of integers of different signs: 'int' and 'guint' Fix compiler warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare] --- src/fr-command-unarchiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fr-command-unarchiver.c') diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c index 5374402..615376d 100644 --- a/src/fr-command-unarchiver.c +++ b/src/fr-command-unarchiver.c @@ -83,7 +83,7 @@ list_command_completed (gpointer data) if (json_object_get_int_member (root, "lsarFormatVersion") == LSAR_SUPPORTED_FORMAT) { JsonArray *content; - int i; + guint i; content = json_object_get_array_member (root, "lsarContents"); for (i = 0; i < json_array_get_length (content); i++) { -- cgit v1.2.1