Skip to content

Commit

Permalink
Fix bad param list in list_removeif()
Browse files Browse the repository at this point in the history
  • Loading branch information
GrieferAtWork committed May 18, 2024
1 parent eab4cda commit bcfeefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deemon/objects/list.c
Original file line number Diff line number Diff line change
Expand Up @@ -2515,7 +2515,7 @@ list_removeif(List *me, size_t argc,
size_t result, start = 0, end = (size_t)-1, max = (size_t)-1;
if (DeeArg_UnpackKw(argc, argv, kw, kwlist__should_start_end_max,
"o|" UNPuSIZ UNPuSIZ UNPuSIZ ":removeif",
&should, &start, &end))
&should, &start, &end, &max))
goto err;
result = DeeList_RemoveIf((DeeObject *)me, should, start, end, max);
if unlikely(result == (size_t)-1)
Expand Down

0 comments on commit bcfeefd

Please sign in to comment.