From 2d2f105f79921025bce1b9015378612328d2f06e Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 4 Feb 2009 21:44:50 +0200 Subject: nouveau: fix type warnings: void* arith, un/signed nouveau_notifier.c had two places where void* was used in arithmetic, fixed by using char*. nouveau_dma_wait(), nouveau_notifier_wait_status() and nouveau_resource_alloc() had signed/unsigned comparison warnings, fixed by changing the function parameter into an unsigned type. Signed-off-by: Pekka Paalanen --- libdrm/nouveau/nouveau_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdrm/nouveau/nouveau_dma.c') diff --git a/libdrm/nouveau/nouveau_dma.c b/libdrm/nouveau/nouveau_dma.c index 2cf7d2b7..c906799a 100644 --- a/libdrm/nouveau/nouveau_dma.c +++ b/libdrm/nouveau/nouveau_dma.c @@ -87,7 +87,7 @@ nouveau_dma_channel_init(struct nouveau_channel *chan) } while(0) int -nouveau_dma_wait(struct nouveau_channel *chan, int size) +nouveau_dma_wait(struct nouveau_channel *chan, unsigned size) { struct nouveau_channel_priv *nvchan = nouveau_channel(chan); struct nouveau_dma_priv *dma = nvchan->dma; -- cgit v1.2.3