diff options
| author | nakeee <nakeee@gmail.com> | 2008-12-28 15:49:19 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-12-28 15:49:19 +0000 |
| commit | 20b6438b4b0cfc2ce127f730506519fdff2de772 (patch) | |
| tree | ae606dc4359320c4e2f57829a982d6dcf7ef08f8 /Source | |
| parent | 847dc93b73cf61fa8c0fac042684c1c37eb62cd6 (diff) | |
warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1703 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp b/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp index ad2e48a2b6..d46a45d55b 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/Config.cpp @@ -91,7 +91,7 @@ std::string Config::CheckForDuplicateNames(std::string _Name, std::vector<std::s {
// Count the number of duplicate names
int NumDuplicates = 0;
- for(int i = 0; i < Duplicates.size(); i++)
+ for(u32 i = 0; i < Duplicates.size(); i++)
if(_Name == Duplicates.at(i)) NumDuplicates++;
Duplicates.push_back(_Name); // Add the name
@@ -173,7 +173,7 @@ void Config::Save() // Load settings from file
// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
-void Config::Load(bool Config)
+void Config::Load(bool config)
{
IniFile file;
file.Load("nJoy.ini");
@@ -188,7 +188,7 @@ void Config::Load(bool Config) std::string SectionName = StringFromFormat("PAD%i", i+1);
// Don't update this when we are loading settings from the ConfigBox
- if(!Config)
+ if(!config)
{
file.Get(SectionName.c_str(), "joy_id", &joysticks[i].ID, 0);
file.Get(SectionName.c_str(), "enabled", &joysticks[i].enabled, 1);
|
