Skip to content

Commit 99e812b

Browse files
committed
Rename "count" field to "lenght".
1 parent 08863db commit 99e812b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yara-python.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ PyObject* convert_array_to_python(
508508
if (array->items == NULL)
509509
return py_list;
510510

511-
for (i = 0; i < array->items->count; i++)
511+
for (i = 0; i < array->items->length; i++)
512512
{
513513
py_object = convert_object_to_python(array->items->objects[i]);
514514

0 commit comments

Comments
 (0)