[libvirt] [PATCH] qemu: process: Use enum belonging to correct type
Peter Krempa
pkrempa at redhat.com
Fri Jan 18 11:15:11 UTC 2019
On Fri, Jan 18, 2019 at 09:57:19 +0000, Daniel Berrange wrote:
> On Fri, Jan 18, 2019 at 08:44:02AM +0100, Peter Krempa wrote:
> > GCC was unhappy about comparison between two distinct enum types. Use
> > the correct value instead.
>
> It is nice to see that GCC is actually intelligent enough to catch
> this kind of mistake these days !
Yes, I'm surprised as well. It's actually ironic since I started using
clang just for this series as it was also finding some problems noted by
Jano. Now I've configured vpath for both compilers, just to be sure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190118/d575b128/attachment-0001.sig>
More information about the libvir-list
mailing list