Skip to content

Commit

Permalink
Merge PR #2391: overlay_gl: use Elf_Sym instead of Elf64_Sym in FreeB…
Browse files Browse the repository at this point in the history
…SD specific-code.
  • Loading branch information
mkrautz committed Jul 3, 2016
2 parents 41613d6 + 477f886 commit 8540966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay_gl/init_unix.c
Expand Up @@ -219,7 +219,7 @@ static int find_odlsym() {
strtab = (const char *)((uintptr_t)lm->l_addr + (uintptr_t)dyn->d_un.d_ptr); strtab = (const char *)((uintptr_t)lm->l_addr + (uintptr_t)dyn->d_un.d_ptr);
break; break;
case DT_SYMTAB: case DT_SYMTAB:
symtab = (Elf64_Sym *)((uintptr_t)lm->l_addr + (uintptr_t)dyn->d_un.d_ptr); symtab = (Elf_Sym *)((uintptr_t)lm->l_addr + (uintptr_t)dyn->d_un.d_ptr);
break; break;
} }
dyn++; dyn++;
Expand Down

0 comments on commit 8540966

Please sign in to comment.