summaryrefslogtreecommitdiff
path: root/src/fr-command-unarchiver.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-25 15:22:37 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2019-08-28 10:56:50 +0200
commitbe1c0f26fc9d0eee7eff330acc4738224253cc3e (patch)
tree896295766514978db98a40b86adb87f8590387ef /src/fr-command-unarchiver.c
parent66076cf781963cd1b781ba8e42d32efcf8fa9180 (diff)
downloadengrampa-be1c0f26fc9d0eee7eff330acc4738224253cc3e.tar.bz2
engrampa-be1c0f26fc9d0eee7eff330acc4738224253cc3e.tar.xz
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]
Diffstat (limited to 'src/fr-command-unarchiver.c')
-rw-r--r--src/fr-command-unarchiver.c2
1 files changed, 1 insertions, 1 deletions
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++) {