소스 검색

* Forgot to assign result of SwapEndian() into place.

git-svn-id: trunk@23534 -
sergei 12 년 전
부모
커밋
cb51c39dd7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/ogelf.pas

+ 1 - 1
compiler/ogelf.pas

@@ -1771,7 +1771,7 @@ implementation
                       FReader.read(symversions^,shdrs[i].sh_size);
                       if source_info.endian<>target_info.endian then
                         for j:=0 to syms-1 do
-                          SwapEndian(symversions[j]);
+                          symversions[j]:=SwapEndian(symversions[j]);
                     end;
 
                   SHT_GNU_verdef: