mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix compiler warning
git-svn-id: https://svn.eduke32.com/eduke32@6363 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
494c778feb
commit
bf18114d31
1 changed files with 2 additions and 2 deletions
|
@ -4701,7 +4701,6 @@ finish_qsprintf:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int const numElements = aGameArrays[arrayNum].size;
|
|
||||||
int const numBytes = Gv_GetArrayAllocSize(arrayNum);
|
int const numBytes = Gv_GetArrayAllocSize(arrayNum);
|
||||||
|
|
||||||
switch (aGameArrays[arrayNum].flags & GAMEARRAY_TYPE_MASK)
|
switch (aGameArrays[arrayNum].flags & GAMEARRAY_TYPE_MASK)
|
||||||
|
@ -4709,7 +4708,8 @@ finish_qsprintf:
|
||||||
case 0:
|
case 0:
|
||||||
#ifdef BITNESS64
|
#ifdef BITNESS64
|
||||||
{
|
{
|
||||||
int32_t * const pArray = (int32_t *)Xmalloc(numBytes);
|
int const numElements = aGameArrays[arrayNum].size;
|
||||||
|
int32_t *const pArray = (int32_t *)Xmalloc(numBytes);
|
||||||
|
|
||||||
for (bssize_t k = 0; k < numElements; k++)
|
for (bssize_t k = 0; k < numElements; k++)
|
||||||
pArray[k] = Gv_GetArrayValue(arrayNum, k);
|
pArray[k] = Gv_GetArrayValue(arrayNum, k);
|
||||||
|
|
Loading…
Reference in a new issue