Expand case ranges to build on MSVC

This commit is contained in:
mio
2021-12-30 00:42:13 +01:00
parent dc402d78ec
commit 03f9dd8b61
6 changed files with 54 additions and 14 deletions

View File

@@ -508,7 +508,7 @@ int s390_cpu_virt_mem_rw(S390CPU *cpu, vaddr laddr, uint8_t ar, void *hostbuf,
cpu_physical_memory_rw(env_cpu(env)->as, pages[i] | (laddr & ~TARGET_PAGE_MASK),
hostbuf, currlen, is_write);
laddr += currlen;
hostbuf += currlen;
hostbuf = (void *)(((char *)hostbuf) + currlen);
len -= currlen;
}
}