From 99e92f0b50fc33a947a2a9011a43ae6a5f6018fb Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 18 Oct 2017 22:55:52 +0200 Subject: Fixed a comparison between signed and unsigned integer expressions. --- ChangeLog | 5 +++++ plugins/dalvik/link.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c0e495a..c019049 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 17-10-18 Cyrille Bagard + * plugins/dalvik/link.c: + Fix a comparison between signed and unsigned integer expressions. + +17-10-18 Cyrille Bagard + * .gitignore: * autogen.sh: * configure.ac: diff --git a/plugins/dalvik/link.c b/plugins/dalvik/link.c index ae7aa63..5fa0c26 100644 --- a/plugins/dalvik/link.c +++ b/plugins/dalvik/link.c @@ -95,7 +95,7 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor * GArchInstruction *target; /* Ligne visée par la référence*/ case_comment *comment; /* Commentaire à éditer */ uint16_t i; /* Boucle de parcours #1 */ - size_t j; /* Boucle de parcours #2 */ + uint16_t j; /* Boucle de parcours #2 */ int32_t tmp; /* Sauvegarde temporaire */ char *msg; /* Indication à imprimer */ size_t k; /* Boucle de parcours #3 */ -- cgit v0.11.2-87-g4458