summaryrefslogtreecommitdiff
path: root/plugins/Watrack/proto/proto.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/proto/proto.pas')
-rw-r--r--plugins/Watrack/proto/proto.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas
index dc73e17707..f1c6eff06b 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(pAnsiChar(data),dataSize);
+ encodedStr:=mir_base64_encode(data,dataSize);
mGetMem(encbuf,Length(encodedStr)+1+Length(wpAnswer));
StrCopy(PAnsiChar(encbuf),wpAnswer);
StrCopy(PAnsiChar(encbuf)+Length(wpAnswer),encodedStr);