From f489761e682b75ede8754e9f9be48fa29ebaeb10 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 11 Jan 2025 10:25:27 +0100 Subject: [BOX32] Improved elf memory managment for 32bits process --- src/librarian/librarian.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librarian') diff --git a/src/librarian/librarian.c b/src/librarian/librarian.c index 1d61aa2d..415278ae 100644 --- a/src/librarian/librarian.c +++ b/src/librarian/librarian.c @@ -266,7 +266,7 @@ static int AddNeededLib_add(lib_t** maplib, int local, needed_libs_t* needed, in return 1; } lm->l_addr = (Elf32_Addr)to_ptrv(GetElfDelta(lib->e.elf)); - lm->l_name = to_ptrv(lib->name); + lm->l_name = to_cstring(lib->name); lm->l_ld = to_ptrv(GetDynamicSection(lib->e.elf)); } else #endif -- cgit 1.4.1