Skip to content

Commit 77aeb12

Browse files
committed
tidy up warning
warning: incompatible pointer types passing 'ObjModule *' to parameter of type 'Obj *'
1 parent 415f7b2 commit 77aeb12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/wren_value.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ static void blackenFn(WrenVM* vm, ObjFn* fn)
10901090
wrenGrayBuffer(vm, &fn->constants);
10911091

10921092
// Mark the module it belongs to, in case it's been unloaded.
1093-
wrenGrayObj(vm, fn->module);
1093+
wrenGrayObj(vm, (Obj*)fn->module);
10941094

10951095
// Keep track of how much memory is still in use.
10961096
vm->bytesAllocated += sizeof(ObjFn);

0 commit comments

Comments
 (0)