diff options
author | Pekka Paalanen <pq@iki.fi> | 2009-02-04 21:44:50 +0200 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2009-02-11 23:48:49 +0200 |
commit | 2d2f105f79921025bce1b9015378612328d2f06e (patch) | |
tree | 938f322cf5af2e2d7bed932c77d6e03e2d4d693b /libdrm/nouveau/nouveau_dma.h | |
parent | bc92c0edf33f3f38275f6aa4e0639b3ddeef68ca (diff) |
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>
Diffstat (limited to 'libdrm/nouveau/nouveau_dma.h')
-rw-r--r-- | libdrm/nouveau/nouveau_dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/nouveau/nouveau_dma.h b/libdrm/nouveau/nouveau_dma.h index 89b341e7..38fe1d68 100644 --- a/libdrm/nouveau/nouveau_dma.h +++ b/libdrm/nouveau/nouveau_dma.h @@ -40,7 +40,7 @@ #define NOUVEAU_TIME_MSEC() 0 #define RING_SKIPS 8 -extern int nouveau_dma_wait(struct nouveau_channel *chan, int size); +extern int nouveau_dma_wait(struct nouveau_channel *chan, unsigned size); extern void nouveau_dma_subc_bind(struct nouveau_grobj *); extern void nouveau_dma_channel_init(struct nouveau_channel *); extern void nouveau_dma_kickoff(struct nouveau_channel *); |