Remove DWORD from compression TLS storage

This commit is contained in:
notmatthewbeshay 2026-03-10 09:53:49 +11:00
parent fb3e4947c6
commit afca289848
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
#include "../../../Minecraft.Client/Platform/PS3/PS3Extras/EdgeZLib.h" #include "../../../Minecraft.Client/Platform/PS3/PS3Extras/EdgeZLib.h"
#endif //__PS3__ #endif //__PS3__
DWORD Compression::tlsIdx = 0; unsigned int Compression::tlsIdx = 0;
Compression::ThreadStorage *Compression::tlsDefault = NULL; Compression::ThreadStorage *Compression::tlsDefault = NULL;
Compression::ThreadStorage::ThreadStorage() Compression::ThreadStorage::ThreadStorage()

View file

@ -27,7 +27,7 @@ private:
ThreadStorage(); ThreadStorage();
~ThreadStorage(); ~ThreadStorage();
}; };
static DWORD tlsIdx; static unsigned int tlsIdx;
static ThreadStorage *tlsDefault; static ThreadStorage *tlsDefault;
public: public:
// Each new thread that needs to use Compression will need to call one of the following 2 functions, to either create its own // Each new thread that needs to use Compression will need to call one of the following 2 functions, to either create its own