mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 02:32:51 +02:00
* fixed compile-time range error under Windows (mantis #16171)
git-svn-id: trunk@15099 -
This commit is contained in:
parent
16de86ef7c
commit
b4b72b8387
@ -329,7 +329,7 @@ begin
|
||||
Inherited Create(AOwner);
|
||||
FRequestsAvail:=5;
|
||||
SetLength(FRequestsArray,FRequestsAvail);
|
||||
FHandle := -1;
|
||||
FHandle := THandle(-1);
|
||||
end;
|
||||
|
||||
destructor TCustomFCgiApplication.Destroy;
|
||||
@ -348,7 +348,7 @@ begin
|
||||
begin
|
||||
fpshutdown(FHandle,SHUT_RDWR);
|
||||
CloseSocket(FHandle);
|
||||
FHandle := -1;
|
||||
FHandle := THandle(-1);
|
||||
end;
|
||||
Request := Nil;
|
||||
Response := Nil;
|
||||
|
Loading…
Reference in New Issue
Block a user