diff --git a/core/provider/source2/provider_source2.cpp b/core/provider/source2/provider_source2.cpp index 07c26c0..ef05448 100644 --- a/core/provider/source2/provider_source2.cpp +++ b/core/provider/source2/provider_source2.cpp @@ -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 searchPaths; baseFs->GetSearchPathsForPathID(pathIds[id], (GetSearchPathTypes_t)0, searchPaths);