summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-09-02 19:07:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-09-02 19:07:34 +0000
commita771a36e2859f223ceb131e556677eb653cfab73 (patch)
tree05e5aba2a084fe9d43f08c0d692b9c9d1b1a64d4
parentb32bd0a340de47fda10fbca63c6cf664327533cf (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15155 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/HistoryStats/src/mirandasettings.cpp4
-rw-r--r--plugins/HistoryStats/src/mirandasettings.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/mirandasettings.cpp b/plugins/HistoryStats/src/mirandasettings.cpp
index f27f5896ee..cc6623545d 100644
--- a/plugins/HistoryStats/src/mirandasettings.cpp
+++ b/plugins/HistoryStats/src/mirandasettings.cpp
@@ -137,7 +137,7 @@ int MirandaSettings::enumSettingsProc(const char* szSetting, LPARAM lParam)
return 0;
}
-void MirandaSettings::enumSettings(SetInserter& insertIterator)
+void MirandaSettings::enumSettings(const SetInserter& insertIterator)
{
- mu::db_contact::enumSettings(m_hContact, m_strModule.c_str(), enumSettingsProc, reinterpret_cast<LPARAM>(&insertIterator));
+ mu::db_contact::enumSettings(m_hContact, m_strModule.c_str(), enumSettingsProc, LPARAM(&insertIterator));
}
diff --git a/plugins/HistoryStats/src/mirandasettings.h b/plugins/HistoryStats/src/mirandasettings.h
index bb5cb07f56..11e743c977 100644
--- a/plugins/HistoryStats/src/mirandasettings.h
+++ b/plugins/HistoryStats/src/mirandasettings.h
@@ -57,7 +57,7 @@ public:
bool delSetting(const char* szSetting);
// enumeration
- void enumSettings(SetInserter& insertIterator);
+ void enumSettings(const SetInserter& insertIterator);
};
#endif // HISTORYSTATS_GUARD_MIRANDASETTINGS_H