diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-08-29 00:56:05 +0200 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-08-29 00:56:05 +0200 |
commit | f29c9d3fc95f160ded64b911266a479ad0a2fc1a (patch) | |
tree | 5cccc62dc22c9f7b417d4e4ff4ddb4f7402eb620 /src/nv_dma.h | |
parent | 663bf3cbc881631e54e7d63932f59e1b4289979f (diff) | |
download | xorg-driver-xf86-video-nouveau-f29c9d3fc95f160ded64b911266a479ad0a2fc1a.tar.gz |
Silence more warnings.
Diffstat (limited to 'src/nv_dma.h')
-rw-r--r-- | src/nv_dma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nv_dma.h b/src/nv_dma.h index e2b4845..9ec0410 100644 --- a/src/nv_dma.h +++ b/src/nv_dma.h @@ -53,7 +53,7 @@ #define NV_DMA_TARGET_PCI 2 */ #define NV_DMA_TARGET_AGP 3 - + enum DMAObjects { NvNullObject = 0x00000000, NvContextSurfaces = 0x80000010, @@ -85,7 +85,7 @@ enum DMAObjects { extern void NVDmaStart(NVPtr pNv, uint32_t object, uint32_t tag, int size); #define NVDmaNext(pNv, data) do { \ - NVDEBUG("\tNVDmaNext: @0x%08x 0x%08x\n", ((pNv)->dmaCurrent),(data)); \ + NVDEBUG("\tNVDmaNext: @0x%08x 0x%08x\n", (unsigned)((pNv)->dmaCurrent),(unsigned)(data)); \ (pNv)->dmaBase[(pNv)->dmaCurrent++] = (data); \ } while(0) |