]> git.proxmox.com Git - qemu.git/commit
64 bit truncation in code_gen_buffer_size calculation (Jes Sorensen)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 24 Sep 2008 14:10:36 +0000 (14:10 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 24 Sep 2008 14:10:36 +0000 (14:10 +0000)
commit174a9a1fe06aaf8df6bd6a3e874091cefedadbdd
treeb10b00016bfe994a934df84408cb7c75bade6765
parentc21bbcfa3ff4f6dc49fb01080ef598851aa424dd
64 bit truncation in code_gen_buffer_size calculation (Jes Sorensen)

Don't truncate code_gen_buffer_size calculation to int, as it will give
unpredicted results on 64 bit systems when booting large guests.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5310 c046a42c-6fe2-441c-8c8c-71466251a162
exec.c