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 bd250b0f85aa2cf432b4efd07d3e8b75c9bd08e4)
@@ -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;
