i915g: Fix warnings in scons build by using byte pointers
authorJakob Bornecrantz <wallbraker@gmail.com>
Fri, 4 Sep 2009 09:27:17 +0000 (10:27 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Fri, 4 Sep 2009 09:55:53 +0000 (10:55 +0100)
scons build complained about void pointer math

src/gallium/drivers/i915simple/intel_winsys.h

index e123c32..f949f52 100644 (file)
@@ -69,8 +69,8 @@ struct intel_batchbuffer {
     * each dword written.
     */
    /*{@*/
-   void *map;
-   void *ptr;
+   uint8_t *map;
+   uint8_t *ptr;
    size_t size;
 
    size_t relocs;