summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-15 12:19:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-15 12:19:46 +0000
commitd153381b8458578025aa95c64f10608d110e9513 (patch)
tree45004e4f4a87a14f1cb9e6e264bfd562d9371518 /plugins/FileAsMessage/src
parentf92563fa59cd21d339f98288c60b81a51109fa01 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage/src')
-rw-r--r--plugins/FileAsMessage/src/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FileAsMessage/src/dialog.cpp b/plugins/FileAsMessage/src/dialog.cpp
index 412790a4b0..eb76c67fea 100644
--- a/plugins/FileAsMessage/src/dialog.cpp
+++ b/plugins/FileAsMessage/src/dialog.cpp
@@ -701,7 +701,7 @@ void FILEECHO::cmdDATA(char *param)
{
unsigned bufLen;
mir_ptr<BYTE> buf((BYTE*)mir_base64_decode(param, &bufLen));
- memcpy(data, buf, min(bufLen, data_end - data));
+ memcpy(data, buf, min(bufLen, unsigned(data_end - data)));
data += bufLen;
}
//