[libvirt] [PATCH python] Fix -Wsign-compare warnings
Ján Tomko
jtomko at redhat.com
Thu Sep 5 07:50:35 UTC 2019
On Wed, Sep 04, 2019 at 01:41:56PM -0400, Cole Robinson wrote:
>libvirt-override.c: In function ‘libvirt_virConnectBaselineHypervisorCPU’:
>libvirt-override.c:9946:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
>libvirt-override.c:9961:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
>
>Use ssign_t as was similarly done in 75ec2acb6163b
s/sign/size/
>
>Signed-off-by: Cole Robinson <crobinso at redhat.com>
>---
> libvirt-override.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190905/2da2f1f4/attachment-0001.sig>
More information about the libvir-list
mailing list