mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i915g: Fix void ptr arith
This commit is contained in:
parent
ec3c5ac592
commit
20ff6a2752
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue