1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Fix integer signedness warning in provider_source2.cpp

This commit is contained in:
Noah Kim 2023-10-22 16:17:54 -04:00
parent 33a43fc929
commit c71b457b06

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);