64 bit cast for dirent64
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3625 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f8b0aa2559
commit
8582a53a34
@ -4360,8 +4360,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
||||
if (reclen > len)
|
||||
break;
|
||||
de->d_reclen = tswap16(reclen);
|
||||
tswap64s(&de->d_ino);
|
||||
tswap64s(&de->d_off);
|
||||
tswap64s((uint64_t *)&de->d_ino);
|
||||
tswap64s((uint64_t *)&de->d_off);
|
||||
de = (struct dirent64 *)((char *)de + reclen);
|
||||
len -= reclen;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user