mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -643,7 +643,7 @@ FileNameHandle_t CQueuedLoader::FindFilename( const char *pFilename )
|
||||
//-----------------------------------------------------------------------------
|
||||
bool CQueuedLoader::CResourceNameLessFunc::Less( const FileNameHandle_t &hFilenameLHS, const FileNameHandle_t &hFilenameRHS, void *pCtx )
|
||||
{
|
||||
switch ( (int)pCtx )
|
||||
switch ( (intp)pCtx )
|
||||
{
|
||||
case RESOURCEPRELOAD_MATERIAL:
|
||||
{
|
||||
|
||||
@@ -122,7 +122,7 @@ public:
|
||||
Q_strncpy( szFixedName, pszFilename, sizeof( szFixedName ) );
|
||||
Q_FixSlashes( szFixedName );
|
||||
|
||||
Assert( (int)FS_INVALID_ASYNC_FILE == m_map.InvalidIndex() );
|
||||
Assert( (intp)FS_INVALID_ASYNC_FILE == m_map.InvalidIndex() );
|
||||
|
||||
AUTO_LOCK( m_mutex );
|
||||
|
||||
@@ -164,7 +164,7 @@ public:
|
||||
|
||||
AUTO_LOCK( m_mutex );
|
||||
|
||||
int iEntry = (CUtlMap<CUtlString, AsyncOpenedFile_t>::IndexType_t)(int)item;
|
||||
int iEntry = (CUtlMap<CUtlString, AsyncOpenedFile_t>::IndexType_t)(intp)item;
|
||||
Assert( m_map.IsValidIndex( iEntry ) );
|
||||
m_map[iEntry]->AddRef();
|
||||
return m_map[iEntry];
|
||||
@@ -179,7 +179,7 @@ public:
|
||||
|
||||
AUTO_LOCK( m_mutex );
|
||||
|
||||
int iEntry = (CUtlMap<CUtlString, AsyncOpenedFile_t>::IndexType_t)(int)item;
|
||||
int iEntry = (CUtlMap<CUtlString, AsyncOpenedFile_t>::IndexType_t)(intp)item;
|
||||
Assert( m_map.IsValidIndex( iEntry ) );
|
||||
m_map[iEntry]->AddRef();
|
||||
}
|
||||
@@ -193,7 +193,7 @@ public:
|
||||
|
||||
AUTO_LOCK( m_mutex );
|
||||
|
||||
int iEntry = (CUtlMap<CUtlString, AsyncOpenedFile_t>::IndexType_t)(int)item;
|
||||
int iEntry = (CUtlMap<CUtlString, AsyncOpenedFile_t>::IndexType_t)(intp)item;
|
||||
Assert( m_map.IsValidIndex( iEntry ) );
|
||||
if ( m_map[iEntry]->Release() == 0 )
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#ifdef SUPPORT_PACKED_STORE
|
||||
|
||||
unsigned ThreadStubProcessMD5Requests( void *pParam )
|
||||
uintp ThreadStubProcessMD5Requests( void *pParam )
|
||||
{
|
||||
return ((CFileTracker2 *)pParam)->ThreadedProcessMD5Requests();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user