]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/pci-host/i440fx: Use size_t to iterate over ARRAY_SIZE()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 9 Dec 2019 09:49:59 +0000 (10:49 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Dec 2019 01:34:11 +0000 (02:34 +0100)
commit2d61acebe8d8891b5f63fc7221926c1d00bdbd22
treec70359447711799654b8e7def8d8ebe87b5bf6cc
parent340207607369f04c14665d94d5e172641391db1f
hw/pci-host/i440fx: Use size_t to iterate over ARRAY_SIZE()

We don't enforce the -Wsign-conversion CPPFLAG, but it doesn't hurt
to avoid this warning:

  warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20191209095002.32194-4-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/pci-host/i440fx.c