summaryrefslogtreecommitdiff
path: root/src/java-utils.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/java-utils.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/java-utils.c')
-rw-r--r--src/java-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java-utils.c b/src/java-utils.c
index ecb2bd6..6946761 100644
--- a/src/java-utils.c
+++ b/src/java-utils.c
@@ -252,7 +252,7 @@ get_package_name_from_class_file (char *fname)
guint16 length = 0, end = 0, utf_index = 0;
guint32 magic;
guint16 major, minor, count;
- int i = 0;
+ guint i = 0;
if (! g_file_test (fname, G_FILE_TEST_EXISTS))
return NULL;