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 e123c32d88975a7c41a900b06aff349406e48c34..f949f52a9ced8331af17c5d6acf9c8a5a79e3506 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;