From c71b457b0664fc9b45f54225afa2e013636e2dcb Mon Sep 17 00:00:00 2001 From: Noah Kim Date: Sun, 22 Oct 2023 16:17:54 -0400 Subject: [PATCH] Fix integer signedness warning in provider_source2.cpp --- core/provider/source2/provider_source2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/provider/source2/provider_source2.cpp b/core/provider/source2/provider_source2.cpp index 07c26c0a..ef05448f 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);