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

Ján Tomko jtomko at redhat.com
Thu Jul 9 15:25:03 UTC 2020


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?

>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> tools/virsh-secret.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/20200709/955164d5/attachment-0001.sig>


More information about the libvir-list mailing list