mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:29:24 +02:00
* Make explicit that Integer is 32-bit
git-svn-id: trunk@42056 -
This commit is contained in:
parent
883d1f2a79
commit
dc592a888f
@ -1018,8 +1018,8 @@ type
|
|||||||
function WriteData(const Buffer: TExtended80Rec): NativeInt; overload;
|
function WriteData(const Buffer: TExtended80Rec): NativeInt; overload;
|
||||||
function WriteData(const Buffer: TExtended80Rec; Count: NativeInt): NativeInt; overload;
|
function WriteData(const Buffer: TExtended80Rec; Count: NativeInt): NativeInt; overload;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
procedure WriteBufferData(Buffer: Integer); overload;
|
procedure WriteBufferData(Buffer: Int32); overload;
|
||||||
procedure WriteBufferData(Buffer: Integer; Count: NativeInt); overload;
|
procedure WriteBufferData(Buffer: Int32; Count: NativeInt); overload;
|
||||||
procedure WriteBufferData(Buffer: Boolean); overload;
|
procedure WriteBufferData(Buffer: Boolean); overload;
|
||||||
procedure WriteBufferData(Buffer: Boolean; Count: NativeInt); overload;
|
procedure WriteBufferData(Buffer: Boolean; Count: NativeInt); overload;
|
||||||
procedure WriteBufferData(Buffer: AnsiChar); overload;
|
procedure WriteBufferData(Buffer: AnsiChar); overload;
|
||||||
|
@ -768,12 +768,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
procedure TStream.WriteBufferData(Buffer: Integer);
|
procedure TStream.WriteBufferData(Buffer: Int32);
|
||||||
begin
|
begin
|
||||||
WriteBuffer(Buffer,SizeOf(Buffer));
|
WriteBuffer(Buffer,SizeOf(Buffer));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TStream.WriteBufferData(Buffer: Integer; Count: NativeInt);
|
procedure TStream.WriteBufferData(Buffer: Int32; Count: NativeInt);
|
||||||
begin
|
begin
|
||||||
WriteMaxSizeData(Buffer,SizeOf(Buffer),Count);
|
WriteMaxSizeData(Buffer,SizeOf(Buffer),Count);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user