1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Merge pull request #141 from noahbkim/fix-provider_source2

Fix integer signedness warning in provider_source2.cpp
This commit is contained in:
Nicholas Hastings 2023-10-22 16:57:29 -05:00 committed by GitHub
commit 6a05a21fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ void Source2Provider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
"SHADER_SOURCE_ROOT"
};
for(int id = 0; id < (sizeof(pathIds) / sizeof(pathIds[0])); id++)
for(size_t id = 0; id < (sizeof(pathIds) / sizeof(pathIds[0])); id++)
{
CUtlVector<CUtlString> searchPaths;
baseFs->GetSearchPathsForPathID(pathIds[id], (GetSearchPathTypes_t)0, searchPaths);