summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/arch/dalvik/operands/args.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4821a08..62a4158 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
16-12-18 Cyrille Bagard <nocbos@gmail.com>
+ * src/arch/dalvik/operands/args.c:
+ Set the argument counter when building an arguments list.
+
+16-12-18 Cyrille Bagard <nocbos@gmail.com>
+
* src/arch/dalvik/instruction.c:
Clean the code and remove compilation warnings.
diff --git a/src/arch/dalvik/operands/args.c b/src/arch/dalvik/operands/args.c
index 5ba552b..5fa8a65 100644
--- a/src/arch/dalvik/operands/args.c
+++ b/src/arch/dalvik/operands/args.c
@@ -241,6 +241,8 @@ static bool g_dalvik_args_operand_do_init(GDalvikArgsOperand *operand, const GDa
for (i = 0; i < fake->count; i++)
operand->args[i] = fake->args[i];
+ operand->count = fake->count;
+
}
return true;