Skip to content

Commit

Permalink
Merge pull request #141 from noahbkim/fix-provider_source2
Browse files Browse the repository at this point in the history
Fix integer signedness warning in provider_source2.cpp
  • Loading branch information
psychonic committed Oct 22, 2023
2 parents 33a43fc + c71b457 commit 6a05a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/provider/source2/provider_source2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a05a21

Please sign in to comment.