summaryrefslogtreecommitdiff
path: root/sys/kern/link_elf_obj.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-09-10 07:53:04 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-09-10 07:53:04 +0000
commited6c38886ed712605257199da256cd2fb9e0f50b (patch)
tree7f6321bb122112ce45bacbde693c57bc6e9d91a3 /sys/kern/link_elf_obj.c
parente414d9aad716d6639da88ce97d4f9d011f4bab0b (diff)
Notes
Diffstat (limited to 'sys/kern/link_elf_obj.c')
-rw-r--r--sys/kern/link_elf_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c
index c19e0eef64e3..0abf96c7806f 100644
--- a/sys/kern/link_elf_obj.c
+++ b/sys/kern/link_elf_obj.c
@@ -831,7 +831,7 @@ link_elf_unload_file(linker_file_t file)
#ifdef DDB
if (ef->gdb.l_ld) {
GDB_STATE(RT_DELETE);
- free((void *)ef->gdb.l_name, M_LINKER);
+ free((void *)(uintptr_t)ef->gdb.l_name, M_LINKER);
link_elf_delete_gdb(&ef->gdb);
GDB_STATE(RT_CONSISTENT);
}