diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-24 15:42:24 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-24 15:42:24 +0200 |
| commit | 6f3fad8a1645ff19d2abd01a316cedefcf1c0529 (patch) | |
| tree | 83365ac288c301248372738bca8a7e66ac815c39 | |
| parent | 2bb956bb065d82024bd18c4a5c2fdda59f54e89f (diff) | |
| download | box64-6f3fad8a1645ff19d2abd01a316cedefcf1c0529.tar.gz box64-6f3fad8a1645ff19d2abd01a316cedefcf1c0529.zip | |
Fixed dirent conversion (for good)
| -rwxr-xr-x | src/emu/x64syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c index 09fc2bc7..b12719d4 100755 --- a/src/emu/x64syscall.c +++ b/src/emu/x64syscall.c @@ -132,7 +132,7 @@ typedef struct nat_linux_dirent64_s { ssize_t DirentFromDirent64(void* dest, void* source, ssize_t count) { nat_linux_dirent64_t *src = (nat_linux_dirent64_t*)source; - x86_linux_dirent_t *dst = (x86_linux_dirent_t*)dst; + x86_linux_dirent_t *dst = (x86_linux_dirent_t*)dest; ssize_t ret = count; while(count>0) { dst->d_ino = src->d_ino; |