Index: uspace/lib/c/generic/devman.c
===================================================================
--- uspace/lib/c/generic/devman.c	(revision df138361db097bfad037b09eb2abbae6e0931ac3)
+++ uspace/lib/c/generic/devman.c	(revision ba8eecfd9bdcf09bc411bd28fd884cc399ced4f6)
@@ -217,5 +217,5 @@
     match_id_list_t *match_ids, devman_handle_t devh, devman_handle_t *funh)
 {
-	int match_count = list_count(&match_ids->ids);
+	unsigned long match_count = list_count(&match_ids->ids);
 	async_exch_t *exch = devman_exchange_begin_blocking(INTERFACE_DDF_DRIVER);
 	
