cbb79a0d33
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
28 lines
1002 B
Diff
28 lines
1002 B
Diff
From e0bfc34682744a74b850fa217e9c206a9eb80612 Mon Sep 17 00:00:00 2001
|
|
From: Markus Volk <f_l_k@t-online.de>
|
|
Date: Wed, 23 Nov 2022 16:47:52 +0100
|
|
Subject: [PATCH] libvirt-gconfig-domain-capabilities-os.c: fix pointer-sign
|
|
issue
|
|
|
|
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
|
---
|
|
libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c b/libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c
|
|
index 98a1bff..e70d22d 100644
|
|
--- a/libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c
|
|
+++ b/libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c
|
|
@@ -67,7 +67,7 @@ static gboolean search_firmwares(xmlNodePtr node, gpointer opaque)
|
|
{
|
|
const gchar *content;
|
|
|
|
- if (!g_str_equal(node->name, "enum"))
|
|
+ if (!g_str_equal((const gchar *)node->name, "enum"))
|
|
return TRUE;
|
|
|
|
content = gvir_config_xml_get_attribute_content(node, "name");
|
|
--
|
|
2.39.0
|
|
|