8000 const · python/cpython@2b4c610 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b4c610

Browse files
committed
const
1 parent 0abb509 commit 2b4c610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/specialize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ binary_op_extended_specialization(PyObject *lhs, PyObject *rhs, int oparg,
25632563
typedef _PyBinaryOpSpecializationDescr descr_type;
25642564
size_t size = sizeof(binaryop_extend_builtins)/sizeof(descr_type);
25652565
for (size_t i = 0; i < size; i++) {
2566-
descr_type *d = &binaryop_extend_builtins[i];
2566+
descr_type *d = (descr_type *)&binaryop_extend_builtins[i];
25672567
assert(d != NULL);
25682568
assert(d->guard != NULL);
25692569
if (d->oparg == oparg && d->guard(lhs, rhs)) {

0 commit comments

Comments
 (0)
0