File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
lib/NativeCode/DynamicLibraryLoaderHelper/NativeRender Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ void eos_set_loglevel(const LogLevelConfig& log_config)
436436{
437437 if (EOS_Logging_SetLogLevel_ptr != nullptr )
438438 {
439- for (unsigned i = 0 ; i < log_config.category .size () - 1 ; i++)
439+ for (size_t i = 0 ; i < log_config.category .size () - 1 ; i++)
440440 {
441441 EOS_Logging_SetLogLevel_ptr ((EOS_ELogCategory)i, eos_loglevel_str_to_enum (log_config.level [i]));
442442 }
@@ -1361,11 +1361,9 @@ void eos_create(EOSConfig& eosConfig)
13611361 // then add one more null terminator at the end of the array
13621362 std::vector<char > steamApiInterfaceVersionsAsCharArray;
13631363
1364- for (unsigned apiInterfaceVersionIndex = 0 ; apiInterfaceVersionIndex < eos_steam_config.steamApiInterfaceVersionsArray . size (); apiInterfaceVersionIndex++ )
1364+ for (const auto & currentFullValue : eos_steam_config.steamApiInterfaceVersionsArray )
13651365 {
1366- const std::string& currentFullValue = eos_steam_config.steamApiInterfaceVersionsArray [apiInterfaceVersionIndex];
1367-
1368- for (unsigned characterIndex = 0 ; characterIndex < currentFullValue.length (); characterIndex++)
1366+ for (size_t characterIndex = 0 ; characterIndex < currentFullValue.length (); characterIndex++)
13691367 {
13701368 char currentCharacter = currentFullValue[characterIndex];
13711369 steamApiInterfaceVersionsAsCharArray.push_back (currentCharacter);
You can’t perform that action at this time.
0 commit comments