diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-15 12:19:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-15 12:19:46 +0000 |
commit | d153381b8458578025aa95c64f10608d110e9513 (patch) | |
tree | 45004e4f4a87a14f1cb9e6e264bfd562d9371518 /plugins/FileAsMessage/src | |
parent | f92563fa59cd21d339f98288c60b81a51109fa01 (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.cpp | 2 |
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;
}
//
|