diff options
Diffstat (limited to 'plugins/FileAsMessage')
-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;
}
//
|