diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2016-07-03 23:42:25 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-07-03 23:42:25 +0300 |
commit | 477f8862148f9fc05d6453b2951875fced4c1224 (patch) | |
tree | 277cfe8d2f5c9ad579e31956c48c6c745c1595fa /overlay_gl | |
parent | 41613d60deecf66e22f494c1790c2c3786a1eb7f (diff) |
overlay_gl: use Elf_Sym instead of Elf64_Sym in FreeBSD specific-code.
This ensures we use the Elf_Sym type instead of Elf64_Sym.
This makes the FreeBSD-specific code work on both 32-bit
and 64-bit targets.
Fixes mumble-voip/mumble#2122
Diffstat (limited to 'overlay_gl')
-rw-r--r-- | overlay_gl/init_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlay_gl/init_unix.c b/overlay_gl/init_unix.c index 901aa1ecc..e3d6a971e 100644 --- a/overlay_gl/init_unix.c +++ b/overlay_gl/init_unix.c @@ -219,7 +219,7 @@ static int find_odlsym() { strtab = (const char *)((uintptr_t)lm->l_addr + (uintptr_t)dyn->d_un.d_ptr); break; 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; } dyn++; |