diff options
author | Jakob Bornecrantz <[email protected]> | 2011-02-20 11:46:50 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2011-02-21 00:50:16 +0100 |
commit | 20ff6a27522aa4b08d3c43dd509bc28b2b569c2d (patch) | |
tree | 7bf780caeb1d10a3c11e8a30fa5513805e04eba5 /src/gallium/winsys/i915/sw | |
parent | ec3c5ac5924d0daab424215a45ea3a089b9df54f (diff) |
i915g: Fix void ptr arith
Diffstat (limited to 'src/gallium/winsys/i915/sw')
-rw-r--r-- | src/gallium/winsys/i915/sw/i915_sw_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/i915/sw/i915_sw_buffer.c b/src/gallium/winsys/i915/sw/i915_sw_buffer.c index 834805e621d..9a7e90e2173 100644 --- a/src/gallium/winsys/i915/sw/i915_sw_buffer.c +++ b/src/gallium/winsys/i915/sw/i915_sw_buffer.c @@ -84,7 +84,7 @@ i915_sw_buffer_write(struct i915_winsys *iws, { struct i915_sw_buffer *buf = i915_sw_buffer(buffer); - memcpy(buf->ptr + offset, data, size); + memcpy((char*)buf->ptr + offset, data, size); return 0; } |