diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-06-15 16:07:15 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-06-15 16:07:15 +0200 |
commit | 3d68698647fb17a6f5ae9a225f552cb0130fa946 (patch) | |
tree | b8a329310718de2a04a2a4e6b7f1f9e8f574d58b /src/radeon.h | |
parent | ab2b48e0df328fd08a2412911126b3184a601aea (diff) |
Fix semantic glitches pointed out by gcc -Wall.
The radeon driver builds warning-free with gcc -Wall here now.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon.h b/src/radeon.h index e45ade1..7f1e0ad 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -541,20 +541,20 @@ typedef struct { drm_handle_t ringHandle; /* Handle from drmAddMap */ drmSize ringMapSize; /* Size of map */ int ringSize; /* Size of ring (in MB) */ - unsigned char *ring; /* Map */ + drmAddress ring; /* Map */ int ringSizeLog2QW; unsigned long ringReadOffset; /* Offset into GART space */ drm_handle_t ringReadPtrHandle; /* Handle from drmAddMap */ drmSize ringReadMapSize; /* Size of map */ - unsigned char *ringReadPtr; /* Map */ + drmAddress ringReadPtr; /* Map */ /* CP vertex/indirect buffer data */ unsigned long bufStart; /* Offset into GART space */ drm_handle_t bufHandle; /* Handle from drmAddMap */ drmSize bufMapSize; /* Size of map */ int bufSize; /* Size of buffers (in MB) */ - unsigned char *buf; /* Map */ + drmAddress buf; /* Map */ int bufNumBufs; /* Number of buffers */ drmBufMapPtr buffers; /* Buffer map */ @@ -563,7 +563,7 @@ typedef struct { drm_handle_t gartTexHandle; /* Handle from drmAddMap */ drmSize gartTexMapSize; /* Size of map */ int gartTexSize; /* Size of GART tex space (in MB) */ - unsigned char *gartTex; /* Map */ + drmAddress gartTex; /* Map */ int log2GARTTexGran; /* CP accleration */ |