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 961bd48 commit 5637126Copy full SHA for 5637126
src/rt/rust_gc_metadata.cpp
@@ -16,10 +16,10 @@ struct update_gc_entry_args {
16
};
17
18
static void
19
-update_gc_entry(const mod_entry* entry, void *cookie) {
+update_gc_entry(const mod_entry *entry, void *cookie) {
20
update_gc_entry_args *args = (update_gc_entry_args *)cookie;
21
if (!strcmp(entry->name, "_gc_module_metadata")) {
22
- uintptr_t *next = entry->state;
+ uintptr_t *next = (uintptr_t *)entry->state;
23
uint32_t num_safe_points = *(uint32_t *)next;
24
next++;
25
0 commit comments