diff options
author | Ian Romanick <[email protected]> | 2004-03-17 20:50:12 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-03-17 20:50:12 +0000 |
commit | 16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 (patch) | |
tree | d3b07d3be78f379d76d36b17b06d3b74a8aa1079 /src/mesa/drivers/dri/r128/r128_ioctl.h | |
parent | aae2fde0e6758769c11611d0951b2cb0e4ee24eb (diff) |
Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_ioctl.h')
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_ioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_ioctl.h b/src/mesa/drivers/dri/r128/r128_ioctl.h index db1c4986ee5..4e086764522 100644 --- a/src/mesa/drivers/dri/r128/r128_ioctl.h +++ b/src/mesa/drivers/dri/r128/r128_ioctl.h @@ -41,7 +41,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "r128_reg.h" #include "r128_lock.h" -#define R128_BUFFER_MAX_DWORDS (R128_BUFFER_SIZE / sizeof(CARD32)) +#define R128_BUFFER_MAX_DWORDS (R128_BUFFER_SIZE / sizeof(int32_t)) extern drmBufPtr r128GetBufferLocked( r128ContextPtr rmesa ); @@ -49,7 +49,7 @@ extern void r128FlushVerticesLocked( r128ContextPtr rmesa ); static __inline void *r128AllocDmaLow( r128ContextPtr rmesa, int bytes ) { - CARD32 *head; + int32_t *head; if ( !rmesa->vert_buf ) { LOCK_HARDWARE( rmesa ); @@ -62,7 +62,7 @@ static __inline void *r128AllocDmaLow( r128ContextPtr rmesa, int bytes ) UNLOCK_HARDWARE( rmesa ); } - head = (CARD32 *)((char *)rmesa->vert_buf->address + rmesa->vert_buf->used); + head = (int32_t *)((char *)rmesa->vert_buf->address + rmesa->vert_buf->used); rmesa->vert_buf->used += bytes; return head; } |