mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 23:50:11 +01:00
st/draw: silence Mingw warning in pointer_to_offset()
Fixes "warning: cast from pointer to integer of different size" for 64-bit builds.
This commit is contained in:
parent
b16b3c8703
commit
3c11bc6a5a
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ st_feedback_draw_vbo(struct gl_context *ctx,
|
|||
static INLINE unsigned
|
||||
pointer_to_offset(const void *ptr)
|
||||
{
|
||||
return (unsigned) (((unsigned long) ptr) & 0xffffffffUL);
|
||||
return (unsigned) (((GLsizeiptr) ptr) & 0xffffffffUL);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue