diff options
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 2 |
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));
}
|