diff options
| author | NunoRamiro <NunoRamiro@gmail.com> | 2008-08-17 19:28:24 +0000 |
|---|---|---|
| committer | NunoRamiro <NunoRamiro@gmail.com> | 2008-08-17 19:28:24 +0000 |
| commit | 8c132bdae5190f969776c0fac44a17f97b2e0812 (patch) | |
| tree | ac5bfe41b63d6490b3891acaad62e170b81ee17a /Source/Core/Common/Src/IniFile.cpp | |
| parent | e3f3a7a41d00627e67b2802e21c114d22505e7d8 (diff) | |
- Fixed: Crash when loading a rom with an unknown file extension.
- Fixed: Crash when stopping a game.
- Improved: DirectX Plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@237 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/Src/IniFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp index 6cfd2a078e..fe32a86c7f 100644 --- a/Source/Core/Common/Src/IniFile.cpp +++ b/Source/Core/Common/Src/IniFile.cpp @@ -323,7 +323,7 @@ bool IniFile::Load(const char* filename) {
if (line[0] == '[')
{
- int endpos = (int)line.find("]");
+ size_t endpos = line.find("]");
if (endpos != std::string::npos)
{
|
