mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-27 13:41:06 +00:00
- fixed Linux warning with type cast.
This commit is contained in:
parent
579eff5b96
commit
60f0ab5f1b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public:
|
||||||
}
|
}
|
||||||
unsigned int GetCount(FFlatVertex *newptr, unsigned int *poffset)
|
unsigned int GetCount(FFlatVertex *newptr, unsigned int *poffset)
|
||||||
{
|
{
|
||||||
unsigned int newofs = unsigned int(newptr - map);
|
unsigned int newofs = (unsigned int)(newptr - map);
|
||||||
unsigned int diff = newofs - mCurIndex;
|
unsigned int diff = newofs - mCurIndex;
|
||||||
*poffset = mCurIndex;
|
*poffset = mCurIndex;
|
||||||
mCurIndex = newofs;
|
mCurIndex = newofs;
|
||||||
|
|
Loading…
Reference in a new issue