Silence compiler warning

This commit is contained in:
Ansgar Becker
2010-01-30 08:05:25 +00:00
parent 8d647f81c8
commit c5699171f9

View File

@@ -5943,7 +5943,7 @@ begin
DBObjects := Connection.GetDBObjects(Databases[Node.Parent.Index]);
// Various bug reports refer to this location where we reference a db object which is outside the range
// of DBObjects. Probably a timing issue. Work around that by doing a safety check here.
if Node.Index >= DBObjects.Count then
if Node.Index >= Cardinal(DBObjects.Count) then
Exit;
case DBObjects[Node.Index].NodeType of
lntTable: