summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-12-11 21:36:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-12-11 21:36:29 +0300
commit617831dfc953a5bba630163c01fbeda11445ee78 (patch)
treebe3eb09d61f5652989dcc134f89bab6aab70955e /plugins/FileAsMessage
parente57cdb681cb10993f4bd08c594a27278af478b1a (diff)
mir_base64_* => parameters type fix
Diffstat (limited to 'plugins/FileAsMessage')
-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 36fbd38780..f2339ba63c 100644
--- a/plugins/FileAsMessage/src/dialog.cpp
+++ b/plugins/FileAsMessage/src/dialog.cpp
@@ -680,7 +680,7 @@ void FILEECHO::cmdDATA(char *param)
}
else
{
- unsigned bufLen;
+ size_t bufLen;
mir_ptr<BYTE> buf((BYTE*)mir_base64_decode(param, &bufLen));
memcpy(data, buf, min(bufLen, unsigned(data_end - data)));
data += bufLen;