From 755c300d246c872c406f3a7e123d4cdd0d7c1f17 Mon Sep 17 00:00:00 2001 From: bigbear Date: Thu, 8 Feb 2024 02:39:51 +0100 Subject: PR681 - implicit function declaration --- modules/devices/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/devices/pci.c') diff --git a/modules/devices/pci.c b/modules/devices/pci.c index be816c46..c7114672 100644 --- a/modules/devices/pci.c +++ b/modules/devices/pci.c @@ -177,7 +177,7 @@ void scan_pci_do(void) { gchar *pci_icons = g_strdup(""); pcid_list list = pci_get_device_list(0,0); - list = g_slist_sort(list, pcid_cmp_by_addy); + list = g_slist_sort(list, (GCompareFunc)pcid_cmp_by_addy); GSList *l = list; int c = 0; -- cgit v1.2.3