aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/pci.c
diff options
context:
space:
mode:
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;