summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-08-05 13:43:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-08-05 13:43:46 +0000
commit97cdedba69a3592e6313217a0fa82bea440c41fa (patch)
tree49398ec33e38b64ffca91a754b3ae5eebe5bcb74 /plugins/TabSRMM/src/msgdlgutils.cpp
parent5b87649397d756384a6b4897a2907fbeec6ccaa5 (diff)
- status removed from badly written database cache;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@17162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index 4f647fdd79..a097a5e086 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -656,7 +656,7 @@ wchar_t* TSAPI QuoteText(const wchar_t *text)
int inChar = 0;
int justDoneLineBreak = 1;
for (outChar = 0, lineChar = 0; text[inChar];) {
- if (outChar >= bufSize - 8) {
+ if (outChar >= (int)bufSize - 8) {
bufSize += 20;
strout = (wchar_t*)mir_realloc(strout, bufSize * sizeof(wchar_t));
}