1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 03:56:10 +08:00

Few minor fixes

This commit is contained in:
GAMMACASE
2023-10-01 17:27:56 +03:00
parent 05a5907e05
commit 6fd990f46b
4 changed files with 5 additions and 4 deletions

View File

@ -111,8 +111,9 @@ struct bbox_t
Vector maxs;
};
struct CEntityIndex
class CEntityIndex
{
public:
CEntityIndex( int index )
{
_index = index;

View File

@ -1347,7 +1347,7 @@ inline void Destruct( T* pMemory )
pMemory->~T();
#ifdef _DEBUG
memset( pMemory, 0xDD, sizeof(T) );
memset( (void*)pMemory, 0xDD, sizeof(T) );
#endif
}

View File

@ -16,9 +16,9 @@
#elif POSIX
#include <ctype.h>
#include <wchar.h>
#include <math.h>
#endif
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -120,7 +120,7 @@ inline uint32 CUtlSymbolLarge_Hash( bool CASEINSENSITIVE, const char *pString, i
return ( CASEINSENSITIVE ? HashStringCaseless( pString ) : HashString( pString ) );
}
typedef uint32 LargeSymbolTableHashDecoration_t;
typedef uint64 LargeSymbolTableHashDecoration_t;
// The structure consists of the hash immediately followed by the string data
struct CUtlSymbolTableLargeBaseTreeEntry_t