diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-28 15:39:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-28 15:39:51 +0300 |
commit | 4688195c4327ca3749230371b3634bfc74203f3d (patch) | |
tree | 3a742f08bac3236d55d37bab2018a93cc6bbf78d | |
parent | f3f6b07ef0dfed5029ccf5c780295caaad85bb71 (diff) |
h++: crash fix for 64 bit RTF
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_richedit.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_richedit.pas b/plugins/HistoryPlusPlus/hpp_richedit.pas index 73f045a6bb..2c5fd78228 100644 --- a/plugins/HistoryPlusPlus/hpp_richedit.pas +++ b/plugins/HistoryPlusPlus/hpp_richedit.pas @@ -1139,7 +1139,7 @@ begin end;
end;
-function RichEditStreamLoad(dwCookie: Longint; pbBuff: PByte; cb: Longint; var pcb: Longint): Longint; stdcall;
+function RichEditStreamLoad(dwCookie: LPARAM; pbBuff: PByte; cb: Longint; var pcb: Longint): Longint; stdcall;
var
pBuff: PAnsiChar;
begin
@@ -1156,7 +1156,7 @@ begin Result := 0;
end;
-function RichEditStreamSave(dwCookie: Longint; pbBuff: PByte; cb: Longint; var pcb: Longint): Longint; stdcall;
+function RichEditStreamSave(dwCookie: LPARAM; pbBuff: PByte; cb: Longint; var pcb: Longint): Longint; stdcall;
var
prevSize: Integer;
begin
|