Skip to content

Commit be2d2de

Browse files
committed
fix name
1 parent 166b6f4 commit be2d2de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/lib-rt/int_ops.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,12 +600,12 @@ PyObject *CPyTagged_ToBytes(CPyTagged self, Py_ssize_t length, PyObject *byteord
600600
Py_DECREF(pyint);
601601
return NULL;
602602
}
603-
PyObject *result = PyLong_ToBytes(pyint, length, order, signed_flag);
603+
PyObject *result = CPyLong_ToBytes(pyint, length, order, signed_flag);
604604
Py_DECREF(pyint);
605605
return result;
606606
}
607607

608-
// Helper for PyLong_ToBytes (Python 3.2+)
608+
// Helper for CPyLong_ToBytes (Python 3.2+)
609609
PyObject *CPyLong_ToBytes(PyObject *v, Py_ssize_t length, const char *byteorder, int signed_flag) {
610610
// This is a wrapper for PyLong_AsByteArray and PyBytes_FromStringAndSize
611611
unsigned char *bytes = (unsigned char *)PyMem_Malloc(length);

0 commit comments

Comments
 (0)