Fixed some missing uint8_t -> u_int8_t.
authorFelix Kuehling <fxkuehl@gmx.de>
Wed, 15 Dec 2004 15:44:28 +0000 (15:44 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Wed, 15 Dec 2004 15:44:28 +0000 (15:44 +0000)
src/mesa/drivers/dri/savage/savage_3d_reg.h
src/mesa/drivers/dri/savage/savageioctl.h

index 24c23d432ac25bf9bf08298b5aebbea93d59de44..b7d1c3960a39c5e9f3c64ff6b1dd35bf2e65f924 100644 (file)
@@ -637,7 +637,7 @@ typedef struct savage_registers_s4_t {
     savageRegTexBlendCtrl      texBlendCtrl[2];   /* 0x24, 0x25 */
     savageRegTexXprClr         texXprClr;         /* 0x26 */
     savageRegTexDescr_s4       texDescr;          /* 0x27 */
-    uint8_t                    fogTable[32];      /* 0x28-0x2f (8dwords) */
+    u_int8_t                   fogTable[32];      /* 0x28-0x2f (8dwords) */
     savageRegFogCtrl           fogCtrl;           /* 0x30 */
     savageRegStencilCtrl       stencilCtrl;       /* 0x31 */
     savageRegZBufCtrl_s4       zBufCtrl;          /* 0x32 */
@@ -655,8 +655,8 @@ typedef struct savage_registers_s3d_t {
     savageRegTexAddr           texAddr;           /* 0x1a */
     savageRegTexDescr_s3d      texDescr;          /* 0x1b */
     savageRegTexCtrl_s3d       texCtrl;           /* 0x1c */
-    u_int32_t                   unused1[3];        /* 0x1d-0x1f */
-    uint8_t                    fogTable[64];      /* 0x20-0x2f (16dwords) */
+    u_int32_t                  unused1[3];        /* 0x1d-0x1f */
+    u_int8_t                   fogTable[64];      /* 0x20-0x2f (16dwords) */
     savageRegFogCtrl           fogCtrl;           /* 0x30 */
     savageRegDrawCtrl          drawCtrl;          /* 0x31 */
     savageRegZBufCtrl_s3d      zBufCtrl;          /* 0x32 */
index 87901b5a294537764dcb9581ac6b4db790773c16..acf398b9a6bfa40298c21553be15d6d63b572590 100644 (file)
@@ -89,7 +89,7 @@ u_int32_t *savageAllocDmaLow( savageContextPtr imesa, GLuint bytes )
       UNLOCK_HARDWARE(imesa);
    }
 
-   head = (u_int32_t *)((uint8_t *)imesa->vertex_dma_buffer->address +
+   head = (u_int32_t *)((u_int8_t *)imesa->vertex_dma_buffer->address +
                       imesa->vertex_dma_buffer->used);
 
    imesa->vertex_dma_buffer->used += bytes;