1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Fix compilation on Windows x64

Add precompiled libraries needed to build MetaMod and SourceMod.
This commit is contained in:
Peace-Maker
2020-06-18 15:54:22 +02:00
parent decce90766
commit 0a1b7a75d8
21 changed files with 30 additions and 18 deletions

View File

@ -331,7 +331,7 @@ bool bf_write::WriteBits(const void *pInData, int nBits)
}
// Align output to dword boundary
while (((unsigned long)pOut & 3) != 0 && nBitsLeft >= 8)
while (((uintp)pOut & 3) != 0 && nBitsLeft >= 8)
{
WriteUBitLong( *pOut, 8, false );
@ -808,7 +808,7 @@ void old_bf_read::ReadBits(void *pOutData, int nBits)
// align output to dword boundary
while( ((unsigned long)pOut & 3) != 0 && nBitsLeft >= 8 )
while( ((uintp)pOut & 3) != 0 && nBitsLeft >= 8 )
{
*pOut = (unsigned char)ReadUBitLong(8);
++pOut;