drisw: Fix invalid pointer arithmetic
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 7 Jun 2018 21:24:59 +0000 (17:24 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 8 Jun 2018 01:01:29 +0000 (21:01 -0400)
commitd797f1f47efd389ce656fa60fa51687c7c58daa4
tree7328e01ca89a01bc49827ba477a9282b04cb0dc2
parent03c370d2f164847abad88c1af7c159db23014947
drisw: Fix invalid pointer arithmetic

Use of void * in pointer arithmetic is illegal, use char * instead.
Fixes: cf54bd5e8381dba18d52fe438acda20cc1685bf3 ("drisw: use shared memory when possible")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
src/gallium/winsys/sw/dri/dri_sw_winsys.c