Browse Source

Fix range check

Martin 1 year ago
parent
commit
89fb28262d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-process/src/processbody.inc

+ 1 - 1
packages/fcl-process/src/processbody.inc

@@ -391,7 +391,7 @@ Function TProcess.GetExitStatus : Integer;
 
 
 begin
 begin
   GetRunning;
   GetRunning;
-  Result:=FExitCode;
+  Result:=Integer(FExitCode);
 end;
 end;
 
 
 {$IFNDEF OS_HASEXITCODE}
 {$IFNDEF OS_HASEXITCODE}