mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
draw: Silence pointer-to-integer cast warning.
This commit is contained in:
parent
f4cc0692e6
commit
13be57df3a
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ static void FUNC(struct draw_pt_front_end *frontend,
|
||||||
unsigned count)
|
unsigned count)
|
||||||
{
|
{
|
||||||
struct varray_frontend *varray = (struct varray_frontend *)frontend;
|
struct varray_frontend *varray = (struct varray_frontend *)frontend;
|
||||||
unsigned start = (unsigned)elts;
|
unsigned start = (unsigned) ((char *) elts - (char *) NULL);
|
||||||
|
|
||||||
unsigned j;
|
unsigned j;
|
||||||
unsigned first, incr;
|
unsigned first, incr;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue