summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_ioctl.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-03-17 20:50:12 +0000
committerIan Romanick <idr@us.ibm.com>2004-03-17 20:50:12 +0000
commit16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 (patch)
treed3b07d3be78f379d76d36b17b06d3b74a8aa1079 /src/mesa/drivers/dri/r128/r128_ioctl.h
parentaae2fde0e6758769c11611d0951b2cb0e4ee24eb (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.h6
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 db1c4986ee..4e08676452 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;
}