nouveau: fix type warnings: void* arith, un/signed
authorPekka Paalanen <pq@iki.fi>
Wed, 4 Feb 2009 19:44:50 +0000 (21:44 +0200)
committerPekka Paalanen <pq@iki.fi>
Wed, 11 Feb 2009 21:48:49 +0000 (23:48 +0200)
commit2d2f105f79921025bce1b9015378612328d2f06e
tree938f322cf5af2e2d7bed932c77d6e03e2d4d693b
parentbc92c0edf33f3f38275f6aa4e0639b3ddeef68ca
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 <pq@iki.fi>
libdrm/nouveau/nouveau_dma.c
libdrm/nouveau/nouveau_dma.h
libdrm/nouveau/nouveau_notifier.c
libdrm/nouveau/nouveau_notifier.h
libdrm/nouveau/nouveau_resource.c
libdrm/nouveau/nouveau_resource.h