Fix -Wint-to-pointer-cast warning

cast to pointer from integer of different size
This commit is contained in:
dhewg 2011-12-09 21:29:36 +01:00
parent 04d1e91d80
commit 59ba59c46d

View file

@ -42,7 +42,7 @@ typedef struct vertCache_s {
void *virtMem; // only one of vbo / virtMem will be set
bool indexBuffer; // holds indexes instead of vertexes
int offset;
intptr_t offset;
int size; // may be larger than the amount asked for, due
// to round up and minimum fragment sizes
int tag; // a tag of 0 is a free block