summaryrefslogtreecommitdiff
path: root/modules/devices/pci.c
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 02:39:51 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:53 +0100
commit755c300d246c872c406f3a7e123d4cdd0d7c1f17 (patch)
tree12a01f8930767c8eda79bde32463987bed3fff8f /modules/devices/pci.c
parentadd478fbe01e68d63309697dfa016e09f12c2603 (diff)
PR681 - implicit function declaration
Diffstat (limited to 'modules/devices/pci.c')
-rw-r--r--modules/devices/pci.c2
1 files changed, 1 insertions, 1 deletions
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;