summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-16 22:17:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-16 22:17:43 +0000
commit52ab0aed54e6e8df874a7e1ef1c985d268dca4f3 (patch)
treeb70fb5ea3c545e27db33330d4262e5268c256f2c /plugins/Msg_Export/src/utils.cpp
parent55a8ab47a15bfbfbd52d0d28368a72c0207a12a5 (diff)
fixes warning & 64-bit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@14973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/utils.cpp')
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp
index 45de85d160..f078536f62 100755
--- a/plugins/Msg_Export/src/utils.cpp
+++ b/plugins/Msg_Export/src/utils.cpp
@@ -1133,10 +1133,10 @@ void ExportDBEventInfo(MCONTACT hContact, DBEVENTINFO &dbei)
int n = mir_sntprintf(szTemp, _T("%d"), uin);
if (bWriteTextToFile(hFile, szTemp, bWriteUTF8Format, n)) {
char *pszEnd = (char *)(dbei.pBlob + dbei.cbSize);
- for (int n = 0; n < nStringCount && pszCurBlobPos < pszEnd; n++) {
+ for (int i = 0; i < nStringCount && pszCurBlobPos < pszEnd; i++) {
if (*pszCurBlobPos) {
if (!bWriteNewLine(hFile, nIndent) ||
- !bWriteTextToFile(hFile, TranslateTS(pszTypes[n]), bWriteUTF8Format) ||
+ !bWriteTextToFile(hFile, TranslateTS(pszTypes[i]), bWriteUTF8Format) ||
!bWriteIndentedToFile(hFile, nIndent, pszCurBlobPos, bWriteUTF8Format)) {
break;
}