about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-14 16:06:47 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-14 16:06:47 +0200
commit5346f594d4e11cf91ab3d05af5f29abf15f89ab1 (patch)
tree5cdf9a68bc08c46dd89b9b940a8595242bd0866c /src
parent6f217d78da0a49b3f3cf99443cfa95a9a6507303 (diff)
downloadbox64-5346f594d4e11cf91ab3d05af5f29abf15f89ab1.tar.gz
box64-5346f594d4e11cf91ab3d05af5f29abf15f89ab1.zip
Fixed dynarec builds
Diffstat (limited to 'src')
-rwxr-xr-xsrc/elfs/elfloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c
index dd7ab1d1..66adca99 100755
--- a/src/elfs/elfloader.c
+++ b/src/elfs/elfloader.c
@@ -757,7 +757,7 @@ int RelocateElfPlt(lib_t *maplib, lib_t *local_maplib, elfheader_t* head)
             if(RelocateElfRELA(maplib, local_maplib, head, cnt, (Elf64_Rela *)(head->jmprel + head->delta)))
                 return -1;
         }
-        if(pltResolver==~0u) {
+        if(pltResolver==~0ul) {
             pltResolver = AddBridge(my_context->system, vFE, PltResolver, 0, "PltResolver");
         }
         if(head->pltgot) {