Skip to content

Commit b2e160a

Browse files
committed
Fix GCC warning
1 parent ef456a8 commit b2e160a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deemon/execute/modpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ DeeModule_InitDexBounds(DeeModuleObject *__restrict self) {
580580
data.iddmmiwld_mod = self;
581581
self->mo_minaddr = (byte_t const *)-1;
582582
self->mo_maxaddr = (byte_t const *)0;
583-
(void)dl_iterate_phdr(&initialize_dexdata_minmax_iterate_with_linkmap_cb, (void *)self);
583+
(void)dl_iterate_phdr(&initialize_dexdata_minmax_iterate_with_linkmap_cb, (void *)&data);
584584
if likely(self->mo_minaddr <= self->mo_maxaddr)
585585
return true;
586586
Dee_DPRINTF("[RT] Warning: Failed to dl_iterate_phdr()-with-link_map-find module %q", self->mo_absname);

0 commit comments

Comments
 (0)