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_notifier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdrm/nouveau/nouveau_notifier.h') diff --git a/libdrm/nouveau/nouveau_notifier.h b/libdrm/nouveau/nouveau_notifier.h index b461142a..dbc6a3b8 100644 --- a/libdrm/nouveau/nouveau_notifier.h +++ b/libdrm/nouveau/nouveau_notifier.h @@ -57,7 +57,7 @@ uint32_t nouveau_notifier_return_val(struct nouveau_notifier *, int id); int -nouveau_notifier_wait_status(struct nouveau_notifier *, int id, int status, +nouveau_notifier_wait_status(struct nouveau_notifier *, int id, uint32_t status, double timeout); #endif -- cgit v1.2.3