summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/dalvik/register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/dalvik/register.c b/src/arch/dalvik/register.c
index 4e91cd4..39363b1 100644
--- a/src/arch/dalvik/register.c
+++ b/src/arch/dalvik/register.c
@@ -192,7 +192,7 @@ int g_dalvik_register_compare(const GDalvikRegister *a, const GDalvikRegister *b
if (a->index < b->index)
result = -1;
- else if (a->index < b->index)
+ else if (a->index > b->index)
result = 1;
else
result = 0;