mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
fpersmissive fixes
This commit is contained in:
@@ -306,7 +306,7 @@ CQueuedLoader::CQueuedLoader() : BaseClass( false )
|
||||
V_memset( m_pLoaders, 0, sizeof( m_pLoaders ) );
|
||||
|
||||
// set resource dictionaries sort context
|
||||
for ( int i = 0; i < RESOURCEPRELOAD_COUNT; i++ )
|
||||
for ( intp i = 0; i < RESOURCEPRELOAD_COUNT; i++ )
|
||||
{
|
||||
m_ResourceNames[i].SetLessContext( (void *)i );
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
|
||||
AUTO_LOCK( m_mutex );
|
||||
|
||||
int iEntry = m_map.Find( szFixedName );
|
||||
intp iEntry = m_map.Find( szFixedName );
|
||||
if ( iEntry == m_map.InvalidIndex() )
|
||||
{
|
||||
iEntry = m_map.Insert( strdup( szFixedName ), new AsyncOpenedFile_t );
|
||||
@@ -146,7 +146,7 @@ public:
|
||||
|
||||
AUTO_LOCK( m_mutex );
|
||||
|
||||
int iEntry = m_map.Find( szFixedName );
|
||||
intp iEntry = m_map.Find( szFixedName );
|
||||
if ( iEntry != m_map.InvalidIndex() )
|
||||
{
|
||||
m_map[iEntry]->AddRef();
|
||||
|
||||
@@ -102,7 +102,7 @@ HANDLE FindFirstFile( const char *fileName, FIND_DATA *dat)
|
||||
{
|
||||
char nameStore[PATH_MAX];
|
||||
char *dir=NULL;
|
||||
int n,iret=-1;
|
||||
intp n,iret=-1;
|
||||
|
||||
Q_strncpy(nameStore,fileName, sizeof( nameStore ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user