From 0bb1143fcdc8e1a6aa508bddc5bf59738385734d Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Thu, 16 Jan 2014 14:26:21 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@7681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/proto/proto.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Watrack/proto') diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas index f1c6eff06b..dc73e17707 100644 --- a/plugins/Watrack/proto/proto.pas +++ b/plugins/Watrack/proto/proto.pas @@ -300,7 +300,7 @@ begin data:=PByte(s); dataSize:=(StrLenW(textpos)+3+1)*SizeOf(PWideChar); end; - encodedStr:=mir_base64_encode(data,dataSize); + encodedStr:=mir_base64_encode(pAnsiChar(data),dataSize); mGetMem(encbuf,Length(encodedStr)+1+Length(wpAnswer)); StrCopy(PAnsiChar(encbuf),wpAnswer); StrCopy(PAnsiChar(encbuf)+Length(wpAnswer),encodedStr); -- cgit v1.2.3