fix: resolve all remaining compilation warnings

This commit is contained in:
zukrmn
2026-03-07 04:43:50 +00:00
parent 87c9733e09
commit ca11afdfca
28 changed files with 46 additions and 36 deletions

View File

@@ -2386,7 +2386,7 @@ void LevelRenderer::setDirty(int x0, int y0, int z0, int x1, int y1, int z1, Lev
dirtyChunksLockFreeStack.Push((int *)(index));
#else
dirtyChunksLockFreeStack.Push((int *)(index + 2));
dirtyChunksLockFreeStack.Push((int *)(intptr_t)(index + 2));
#endif
#ifdef _XBOX
@@ -3599,7 +3599,7 @@ void LevelRenderer::staticCtor()
for(unsigned int i = 0; i < MAX_CHUNK_REBUILD_THREADS; ++i)
{
sprintf(threadName,"Rebuild Chunk Thread %d\n",i);
rebuildThreads[i] = new C4JThread(rebuildChunkThreadProc,(void *)i,threadName);
rebuildThreads[i] = new C4JThread(rebuildChunkThreadProc,(void *)(intptr_t)i,threadName);
s_activationEventA[i] = new C4JThread::Event();