Skip to content

Commit

Permalink
Fix #7245
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Mar 21, 2024
1 parent 1f14986 commit 7e12cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty/simd-string.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ test_xor64(PyObject *self UNUSED, PyObject *args) {
RAII_PY_BUFFER(key);
int which_function = 0, align_offset = 0;
void (*func)(const uint8_t key[64], uint8_t* data, const size_t data_sz) = xor_data64;
if (!PyArg_ParseTuple(args, "s*s*BB|ii", &key, &buf, &which_function, &align_offset)) return NULL;
if (!PyArg_ParseTuple(args, "s*s*|ii", &key, &buf, &which_function, &align_offset)) return NULL;
switch (which_function) {
case 1:
func = xor_data64_scalar; break;
Expand Down

0 comments on commit 7e12cc5

Please sign in to comment.