소스 검색

* fixed WriteDecodedSleb128

git-svn-id: trunk@2413 -
Jonas Maebe 19 년 전
부모
커밋
976bb457b4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compiler/aggas.pas

+ 2 - 2
compiler/aggas.pas

@@ -313,9 +313,9 @@ implementation
           if (neg) then
             a := a or -(1 shl (size - 7));
           if (((a = 0) and
-               (a and $40 = 0)) or
+               (b and $40 = 0)) or
               ((a = -1) and
-               (a and $40 <> 0))) then
+               (b and $40 <> 0))) then
             more := false
           else
             b := b or $80;