mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
fix compile err on msvc
This commit is contained in:
parent
ebe596f051
commit
1a1ac2093f
@ -1019,7 +1019,8 @@ Arg* methodArg_super(Arg* aThis, NativeProperty** p_prop) {
|
|||||||
builtins = obj_getBuiltins();
|
builtins = obj_getBuiltins();
|
||||||
MethodProp* method_store = (MethodProp*)arg_getContent(aThis);
|
MethodProp* method_store = (MethodProp*)arg_getContent(aThis);
|
||||||
ByteCodeFrame* bcframe = method_store->bytecode_frame;
|
ByteCodeFrame* bcframe = method_store->bytecode_frame;
|
||||||
int32_t pc = method_store->ptr - bcframe->instruct_array.content_start;
|
int32_t pc = (uintptr_t)method_store->ptr -
|
||||||
|
(uintptr_t)bcframe->instruct_array.content_start;
|
||||||
char* sSuper = _find_super_class_name(bcframe, pc);
|
char* sSuper = _find_super_class_name(bcframe, pc);
|
||||||
/* map TinyObj to object */
|
/* map TinyObj to object */
|
||||||
if (strEqu(sSuper, "TinyObj")) {
|
if (strEqu(sSuper, "TinyObj")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user