Browse Source

* tkQWord is considered an ordinal as well

git-svn-id: trunk@36911 -
svenbarth 8 years ago
parent
commit
8aa90d0967
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-objpas/src/inc/rtti.pp

+ 1 - 1
packages/rtl-objpas/src/inc/rtti.pp

@@ -606,7 +606,7 @@ end;
 
 
 function TValue.IsOrdinal: boolean;
 function TValue.IsOrdinal: boolean;
 begin
 begin
-  result := Kind in [tkInteger, tkInt64, tkBool];
+  result := Kind in [tkInteger, tkInt64, tkQWord, tkBool];
 end;
 end;
 
 
 function TValue.AsBoolean: boolean;
 function TValue.AsBoolean: boolean;