summaryrefslogtreecommitdiff
path: root/include/delphi/m_core.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-24 15:08:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-24 15:08:57 +0000
commit4da4d41930745da5146b1524765c2d15e4dad127 (patch)
tree61f774aed0da03a29aa66a6b8679046677af85f9 /include/delphi/m_core.inc
parent687bf8cee6aee6cc11439bd62fd90172a83ef313 (diff)
fix for unneeded data conversion & wrong data type in mir_base64_encode
git-svn-id: http://svn.miranda-ng.org/main/trunk@7857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_core.inc')
-rw-r--r--include/delphi/m_core.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 3ba25248fb..75e903d3d0 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -742,7 +742,7 @@ procedure mir_hmac_sha1(hashout:SHA1Hash; const key:pbyte; keyLen:size_t;
function mir_base64_decode(str:pAnsiChar; var resultSize:int):pByte; stdcall;
external CoreDLL name 'mir_base64_decode';
-function mir_base64_encode(str:pAnsiChar; dataSize:int):pAnsiChar; stdcall;
+function mir_base64_encode(data:PByte; dataSize:int):pAnsiChar; stdcall;
external CoreDLL name 'mir_base64_encode';
function mir_base64_encodebuf(data:PByte; dataSize:int; output:pAnsiChar; outputLen:int):pAnsiChar; stdcall;
external CoreDLL name 'mir_base64_encodebuf';