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
commit 2ef6785d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {