mesa/main: avoid warning when casting offset to pointer
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 8 Aug 2019 12:01:57 +0000 (14:01 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 15 Aug 2019 18:23:39 +0000 (20:23 +0200)
commitecd312be96d417e70eaf4717fe64912ecbe8f713
treec2e0e1623431bc6ba4b5f93dfe59e5a75f05b59b
parentc646cd4bac0999547cb61a04f8e80f828d373232
mesa/main: avoid warning when casting offset to pointer

This generates a warning on some 64-bit systems, so let's cast to a
properly sized integer first.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/draw.c