From 8c132bdae5190f969776c0fac44a17f97b2e0812 Mon Sep 17 00:00:00 2001 From: NunoRamiro Date: Sun, 17 Aug 2008 19:28:24 +0000 Subject: - 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 --- Source/Core/Common/Src/IniFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/Src/IniFile.cpp') 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) { -- cgit v1.2.3