We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3805080 commit 4c83449Copy full SHA for 4c83449
py/objcap.c
@@ -154,7 +154,7 @@ void * mp_obj_cap_get(mp_obj_t self_in) {
154
return self->value;
155
} else {
156
// allow integer objects to appear as tagless pointers, in particular for NULLs
157
- return (void*)(uintptr_t)mp_obj_int_get_truncated(self_in);
+ return (void*)(uintptr_t)mp_obj_get_int_truncated(self_in);
158
}
159
160
0 commit comments