[libvirt PATCH 30/31] tools: virsh-secret: fix compilation error

Pavel Hrdina phrdina at redhat.com
Fri Jul 10 08:06:00 UTC 2020


On Thu, Jul 09, 2020 at 05:25:03PM +0200, Ján Tomko wrote:
> On a Thursday in 2020, Pavel Hrdina wrote:
> > ../tools/virsh-secret.c: In function ‘cmdSecretSetValue’:
> > ../tools/virsh-secret.c:262:15: error: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Werror=pointer-sign]
> >  262 |         value = g_steal_pointer(&file_buf);
> >      |               ^
> > cc1: all warnings being treated as errors
> > 
> 
> Where do you get this error?

I was not able to hit this error again after dropping this patch so
probably there was something missing in meson, I'll drop this patch.

Pavel
-------------- 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/20200710/8f52d3cf/attachment-0001.sig>


More information about the libvir-list mailing list