Browse Source

* compilation on non x86 fixed

git-svn-id: trunk@22330 -
florian 13 years ago
parent
commit
57ee96ef86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/generic.inc

+ 1 - 1
rtl/inc/generic.inc

@@ -2434,7 +2434,7 @@ function BsfQWord(Const AValue : QWord): cardinal;
     result:=$ff;
     if lo(AValue) <> 0 then
       result:=BsfDWord(lo(AValue))
-    else hi(AValue) <> 0 then
+    else if hi(AValue) <> 0 then
       result:=BsfDWord(hi(AValue)) + 32;
   end;
 {$endif}