]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: Fix 32bit compilation
authorCole Robinson <crobinso@redhat.com>
Mon, 1 Mar 2021 18:15:37 +0000 (13:15 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 1 Mar 2021 18:46:20 +0000 (13:46 -0500)
commite074a89f4d66b4e53cc6fbceb630296aacc31bb3
treeeb8618de54184f0e65e9aa5798741054969e1ddf
parent8c9a6004578b2d7a59170a7022ceed963f4bf0dd
hyperv: Fix 32bit compilation

Example:
../src/hyperv/hyperv_driver.c:3007:54: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
 3007 |             virReportError(VIR_ERR_INTERNAL_ERROR, _("Could not attach serial port %lu"), i);

Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/hyperv/hyperv_driver.c