diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-02 19:07:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-02 19:07:34 +0000 |
commit | a771a36e2859f223ceb131e556677eb653cfab73 (patch) | |
tree | 05e5aba2a084fe9d43f08c0d692b9c9d1b1a64d4 | |
parent | b32bd0a340de47fda10fbca63c6cf664327533cf (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.cpp | 4 | ||||
-rw-r--r-- | plugins/HistoryStats/src/mirandasettings.h | 2 |
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
|