Index: uspace/lib/c/generic/device/hw_res_parsed.c
===================================================================
--- uspace/lib/c/generic/device/hw_res_parsed.c	(revision 6843a9ccc55ea4287771f720d4f1117afbcb5bee)
+++ uspace/lib/c/generic/device/hw_res_parsed.c	(revision 722912e9709680de3a927e9ab97bdc5360b0ca9c)
@@ -44,5 +44,5 @@
 	assert((res->type == DMA_CHANNEL_8) || (res->type == DMA_CHANNEL_16));
 	
-	const int channel = (res->type == DMA_CHANNEL_8) ?
+	const unsigned channel = (res->type == DMA_CHANNEL_8) ?
 	    res->res.dma_channel.dma8 : res->res.dma_channel.dma16;
 	const size_t count = out->dma_channels.count;
