about summary refs log tree commit diff stats
path: root/src/librarian
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-01-11 10:25:27 +0100
committerptitSeb <sebastien.chev@gmail.com>2025-01-11 10:26:02 +0100
commitf489761e682b75ede8754e9f9be48fa29ebaeb10 (patch)
treeeaa00441feadd61e7f0f291f7dfebd1fd7d3db2d /src/librarian
parent56ccde005e9332662326b8446658e7a322633e46 (diff)
downloadbox64-f489761e682b75ede8754e9f9be48fa29ebaeb10.tar.gz
box64-f489761e682b75ede8754e9f9be48fa29ebaeb10.zip
[BOX32] Improved elf memory managment for 32bits process
Diffstat (limited to 'src/librarian')
-rw-r--r--src/librarian/librarian.c2
1 files changed, 1 insertions, 1 deletions
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