summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/dbcontacts.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-21 13:57:29 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-21 13:57:29 +0000
commitc435188487f1e89942b6ada46808b9103f3f25cd (patch)
tree07c01909fa4ef0540827da9dab4724da3a3f6fff /plugins/Dbx_mdb/src/dbcontacts.cpp
parent5380ed0fad80744e3093a6fb6f13f8d8a7b2e03a (diff)
dbx_lmdb: VS2010 compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbcontacts.cpp')
-rw-r--r--plugins/Dbx_mdb/src/dbcontacts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbcontacts.cpp b/plugins/Dbx_mdb/src/dbcontacts.cpp
index 7c225f25d0..c0c07f0240 100644
--- a/plugins/Dbx_mdb/src/dbcontacts.cpp
+++ b/plugins/Dbx_mdb/src/dbcontacts.cpp
@@ -106,7 +106,8 @@ STDMETHODIMP_(LONG) CDbxMdb::DeleteContact(MCONTACT contactID)
}
DBEventSortingKey keyVal = { 0, 0, contactID };
- key = { sizeof(keyVal), &keyVal }; MDB_val data;
+ key.mv_size = sizeof(keyVal); key.mv_data = &keyVal;
+ MDB_val data;
txn_ptr trnlck(m_pMdbEnv, true);
cursor_ptr cursor(trnlck, m_dbEventsSort);