소스 검색

* Small optimization by LagProgramming. Fixes issue #40710

Michaël Van Canneyt 1 개월 전
부모
커밋
1d357c7a49
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-hash/src/fptlsbigint.pas

+ 1 - 1
packages/fcl-hash/src/fptlsbigint.pas

@@ -395,7 +395,7 @@ begin
     Carry := 0;
     RIndex := I;
     J := 0;
-    if (OuterPartial > 0) and ((OuterPartial-I) > 0) and (OuterPartial < N) then
+    if (OuterPartial > I) and (OuterPartial < N) then
     begin
       RIndex := OuterPartial-1;
       J := OuterPartial-I-1;