X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2FWADEDITOR.pas;h=d2183553cb10fbe67272913c96002f72b0fbff0a;hb=aba84f24d3a0b7831b93917c9d1e5856267c174a;hp=e68fd21bcdee1c7d63ced3b086fb58abf80cd09d;hpb=3dc2fe6b3d29cd54425db8f590e922f2dce50e99;p=d2df-editor.git diff --git a/src/shared/WADEDITOR.pas b/src/shared/WADEDITOR.pas index e68fd21..d218355 100644 --- a/src/shared/WADEDITOR.pas +++ b/src/shared/WADEDITOR.pas @@ -143,7 +143,7 @@ begin P := OutBuf; Inc(OutBytes, 256); ReallocMem(OutBuf, OutBytes); - strm.next_out := PByteF(Integer(OutBuf) + (Integer(strm.next_out) - Integer(P))); + strm.next_out := PByteF(PtrUInt(OutBuf + (strm.next_out - P))); strm.avail_out := 256; end; finally