Skip to content

Commit dbdeaea

Browse files
committed
cdata: use g->m
1 parent 1b0d88b commit dbdeaea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cdata/cdata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "runtime.h"
22

33
void ·Ref(uintptr ref) {
4-
ref = (uintptr)m;
4+
ref = (uintptr)g->m;
55
FLUSH(&ref);
66
}
77

0 commit comments

Comments
 (0)