mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fix compile err on msvc
Signed-off-by: 李昂 <liang6516@outlook.com>
This commit is contained in:
parent
4451d6b504
commit
c6db38c0a0
@ -306,11 +306,11 @@ Arg* arg_setRef(Arg* self, char* name, PikaObj* obj);
|
||||
Arg* arg_setObj(Arg* self, char* name, PikaObj* obj);
|
||||
|
||||
static inline Arg* arg_newObj(PikaObj* obj) {
|
||||
return arg_setObj(NULL, "", (obj));
|
||||
return arg_setObj(NULL, (char*)"", (obj));
|
||||
}
|
||||
|
||||
static inline Arg* arg_newRef(PikaObj* obj) {
|
||||
return arg_setRef(NULL, "", (obj));
|
||||
return arg_setRef(NULL, (char*)"", (obj));
|
||||
}
|
||||
|
||||
PikaObj* obj_importModuleWithByteCodeFrame(PikaObj* self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user