mirror of https://github.com/xemu-project/xemu.git
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3607 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
27524dc360
commit
eeeac3f3e3
|
@ -2319,7 +2319,7 @@ static abi_long write_ldt(CPUX86State *env,
|
||||||
if (!ldt_table)
|
if (!ldt_table)
|
||||||
return -TARGET_ENOMEM;
|
return -TARGET_ENOMEM;
|
||||||
memset(ldt_table, 0, TARGET_LDT_ENTRIES * TARGET_LDT_ENTRY_SIZE);
|
memset(ldt_table, 0, TARGET_LDT_ENTRIES * TARGET_LDT_ENTRY_SIZE);
|
||||||
env->ldt.base = h2g(ldt_table);
|
env->ldt.base = h2g((unsigned long)ldt_table);
|
||||||
env->ldt.limit = 0xffff;
|
env->ldt.limit = 0xffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4268,7 +4268,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
||||||
case TARGET_NR_getdents:
|
case TARGET_NR_getdents:
|
||||||
#if TARGET_ABI_BITS != 32
|
#if TARGET_ABI_BITS != 32
|
||||||
goto unimplemented;
|
goto unimplemented;
|
||||||
#warning not supported
|
|
||||||
#elif TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64
|
#elif TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64
|
||||||
{
|
{
|
||||||
struct target_dirent *target_dirp;
|
struct target_dirent *target_dirp;
|
||||||
|
|
Loading…
Reference in New Issue