vbo: fix build errors on android
authorTapani Pälli <tapani.palli@intel.com>
Mon, 4 Sep 2017 05:02:13 +0000 (08:02 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 5 Sep 2017 04:55:34 +0000 (07:55 +0300)
commit0986f686328216fa201769c630372fd4b6f8877a
treee6de37fea00e8c8b53009107c0c2f2be7a76bd37
parentbddf4a51c1bb86bdb14ed0693412c6a731ca1d3a
vbo: fix build errors on android

incompatible pointer to integer conversion assigning to 'GLintptr' (aka 'int')
from 'const char *' [-Werror,-Wint-conversion]

      offset = indices;
             ^ ~~~~~~~

Fixes: 2d93b462b4d ("vbo: fix offset in minmax cache key")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/vbo/vbo_minmax_index.c