diff options
author | Emil Velikov <[email protected]> | 2017-04-16 14:39:03 +0100 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2017-04-26 12:34:24 +0300 |
commit | 0022df96be135bbdcb00638a38b13046cee76660 (patch) | |
tree | 94252f75a662ed71d4d5146b2bf17e812abe4daa /src/mesa/state_tracker | |
parent | 8a46da37319e50c1ee7b601e3f0a7b5f7def4a6f (diff) |
winsys/sw/dri: don't use GNU void pointer arithmetic
Resolves build issues like the following:
src/gallium/winsys/sw/dri/dri_sw_winsys.c:203:31: error: pointer of type ‘void *’ used in arithmetic [-Werror=pointer-arith]
data = dri_sw_dt->data + (dri_sw_dt->stride * box->y) + box->x * blsize;
^
src/gallium/winsys/sw/dri/dri_sw_winsys.c:203:62: error: pointer of type ‘void *’ used in arithmetic [-Werror=pointer-arith]
data = dri_sw_dt->data + (dri_sw_dt->stride * box->y) + box->x * blsize;
^
Cc: <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
(cherry picked from commit 309f4067a795219027f523bf0733692e48f2fd58)
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions