From 1c5bf3bf8ce43924663e58f1c92708ac3e59272a Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sat, 14 Apr 2007 12:17:59 +0000 Subject: Fix incorrect pointers casts. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2662 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/syscall.c') diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7ab506d..7f4f771 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3345,7 +3345,7 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3, strncpy(tde->d_name, de->d_name, tnamelen); de = (struct dirent *)((char *)de + reclen); len -= reclen; - tde = (struct dirent *)((char *)tde + treclen); + tde = (struct target_dirent *)((char *)tde + treclen); count1 += treclen; } ret = count1; -- cgit v1.1