]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: silence warning on 32-bit build
authorEric Blake <eblake@redhat.com>
Tue, 20 Sep 2011 22:53:58 +0000 (16:53 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 20 Sep 2011 22:53:58 +0000 (16:53 -0600)
commitad4036c34a591c2d84d0fc538fc7bcab995ee4c4
tree35320f00f926800d162cbbe251be12b44ebf3de5
parenta362f1f7aae10b12ad0471e5c283ff5a3b34d998
build: silence warning on 32-bit build

gcc warns when building libvirt 0.9.5 on a 32-bit machine:

qemu/qemu_migration.c: In function 'qemuMigrationToFile':
qemu/qemu_migration.c:2727:38: error: large integer implicitly truncated to unsigned type [-Woverflow]

* src/qemu/qemu_domain.h (QEMU_DOMAIN_FILE_MIG_BANDWIDTH_MAX): Cap
to long when building for 32-bit platform.
src/qemu/qemu_domain.h