Merge pull request #6716 from Mindavi/bugfix/cast

eval-cache: cast rowId to correct type
This commit is contained in:
Eelco Dolstra
2022-06-24 00:28:38 +02:00
committed by GitHub
+1 -1
View File
@@ -282,7 +282,7 @@ struct AttrDb
auto queryAttribute(state->queryAttribute.use()(key.first)(symbols[key.second]));
if (!queryAttribute.next()) return {};
auto rowId = (AttrType) queryAttribute.getInt(0);
auto rowId = (AttrId) queryAttribute.getInt(0);
auto type = (AttrType) queryAttribute.getInt(1);
switch (type) {