diff options
author | SeokYeon Hwang <syeon.hwang@samsung.com> | 2014-07-15 16:05:28 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2014-07-16 22:08:16 +0900 |
commit | 7b9cea0596269db57a0a7335ed9d62eeb7d7ef4c (patch) | |
tree | f775f82263dc519bf0c9186ccc2688f1c451399e /exec.c | |
parent | acfea61fed0c9b5a0baa1f6dac3dd85e3fb28370 (diff) | |
download | qemu-7b9cea0596269db57a0a7335ed9d62eeb7d7ef4c.tar.gz qemu-7b9cea0596269db57a0a7335ed9d62eeb7d7ef4c.tar.bz2 qemu-7b9cea0596269db57a0a7335ed9d62eeb7d7ef4c.zip |
emulator: fix some compilation warnings on Windows
Fix compilation warnings -Wpointer-to-int-cast, -Wint-to-pointor-cast.
Change-Id: I85d9063e7d89d88a27da7e90d76c1b8bd6a11fc8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1297,7 +1297,7 @@ ram_addr_t qemu_ram_alloc_from_ptr(ram_addr_t size, void *host, */ if (hax_enabled()) { int ret; - ret = hax_populate_ram((uint64_t)new_block->host, size); + ret = hax_populate_ram((uint64_t)(intptr_t)new_block->host, size); if (ret < 0) { fprintf(stderr, "Hax failed to populate ram\n"); exit(-1); |