YaGL: cast GLint to a pointer type right way for 64 bit machines
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Wed, 17 Oct 2012 11:43:34 +0000 (15:43 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Mon, 26 Nov 2012 09:25:30 +0000 (13:25 +0400)
commit725deb9d7c7a0ef0f6f88b366a8f9e83b5846823
treecad56d97eb8835d26cfed2836bb2f9d7055adc71
parentee7ea156f3ee398435c16c94ec1f78fa6c11bbda
YaGL: cast GLint to a pointer type right way for 64 bit machines

Direct cast of int to pointer causes warning on 64 bit machines, use uitptr_t
cast first.
Note that here we're not casting guest address to host address, its just an offset
within an array.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
hw/yagl_apis/gles/yagl_host_gles_calls.c
hw/yagl_apis/gles2/yagl_gles2_context.c