aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sparse.c')
-rw-r--r--sparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sparse.c b/sparse.c
index 9d62d4fe..e7cc6f55 100644
--- a/sparse.c
+++ b/sparse.c
@@ -165,7 +165,7 @@ static void check_byte_count(struct instruction *insn, pseudo_t count)
static void check_memset(struct instruction *insn)
{
- check_byte_count(insn, ptr_list_nth(insn->arguments, 3));
+ check_byte_count(insn, ptr_list_nth(insn->arguments, 2));
}
#define check_memcpy check_memset