From: Jakob Bornecrantz Date: Fri, 4 Sep 2009 09:27:17 +0000 (+0100) Subject: i915g: Fix warnings in scons build by using byte pointers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65c79c9cbd58b164a61b72f7ffe13031c33485cf;p=mesa.git i915g: Fix warnings in scons build by using byte pointers scons build complained about void pointer math --- diff --git a/src/gallium/drivers/i915simple/intel_winsys.h b/src/gallium/drivers/i915simple/intel_winsys.h index e123c32d889..f949f52a9ce 100644 --- a/src/gallium/drivers/i915simple/intel_winsys.h +++ b/src/gallium/drivers/i915simple/intel_winsys.h @@ -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;