Skip to content

Commit 36f8b13

Browse files
timholyfcard
authored andcommitted
Silence ptr->int conversion warning in dump.c
1 parent 9378020 commit 36f8b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,8 +1458,8 @@ void jl_save_system_image_to_stream(ios_t *f)
14581458

14591459
// record reinitialization functions
14601460
for (i = 0; i < reinit_list.len; i += 2) {
1461-
write_int32(f, (int)reinit_list.items[i]);
1462-
write_int32(f, (int)reinit_list.items[i+1]);
1461+
write_int32(f, (int)((uintptr_t) reinit_list.items[i]));
1462+
write_int32(f, (int)((uintptr_t) reinit_list.items[i+1]));
14631463
}
14641464
write_int32(f, -1);
14651465

0 commit comments

Comments
 (0)