]> xenbits.xensource.com Git - libvirt.git/commit
qemu: avoid 32-bit compiler warning
authorEric Blake <eblake@redhat.com>
Thu, 3 May 2012 23:04:34 +0000 (17:04 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 3 May 2012 23:04:34 +0000 (17:04 -0600)
commitcdce2f42d9394177220c4deb38b44342c86e22df
tree3b88ae30eb97e4716d1dbfa7321aedd720f5ff09
parent60fb8a22ee63481b6574a04304f740f50a133754
qemu: avoid 32-bit compiler warning

On 32-bit platforms, gcc warns that the comparison between a long
and (ULLONG_MAX/1024/1024) is always false; throwing in a type
conversion shuts up the warning.

* src/qemu/qemu_monitor.c (qemuMonitorBlockJob): Shut gcc up.
src/qemu/qemu_monitor.c