diff options
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/Src/IniFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp index 1d4b112a5d..121736fe1a 100644 --- a/Source/Core/Common/Src/IniFile.cpp +++ b/Source/Core/Common/Src/IniFile.cpp @@ -459,10 +459,10 @@ bool IniFile::Get(const char* sectionName, const char* key, std::vector<std::str return false; } - u32 subEnd; // ignore starting , if any - u32 subStart = temp.find_first_not_of(","); + size_t subStart = temp.find_first_not_of(","); + size_t subEnd; // split by , while (subStart != std::string::npos) { |
