Skip to content

Commit

Permalink
tr_bsp: fix a signedness comparison problem
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed May 16, 2024
1 parent 2b7f64c commit cc7df79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/renderer/tr_bsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ static std::vector<std::string> R_LoadExternalLightmaps( const char *mapName )
const char *const extensions[] {".png", ".tga", ".webp", ".crn", ".jpg", ".jpeg"};
std::vector<std::string> files[ ARRAY_LEN( extensions ) ];
for ( const std::string& filename : FS::PakPath::ListFiles( mapName ) ) {
for ( int i = 0; i < ARRAY_LEN( extensions ); i++ )
for ( size_t i = 0; i < ARRAY_LEN( extensions ); i++ )
{
if ( Str::IsISuffix( extensions[ i ], filename ) )
{
Expand Down

0 comments on commit cc7df79

Please sign in to comment.