diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-06-24 00:28:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 00:28:38 +0200 |
commit | 2ef6785d8e0c87d8b0cacbe2449683d9fd2e5844 (patch) | |
tree | 9347ba97c81ea115cbe76b09f8badf94c1388155 /src | |
parent | ae2a8c07372c2cc8d0a82f775c116353e748bdd2 (diff) | |
parent | 2beb929753d28604ccd40057fca295a11640e40e (diff) |
Merge pull request #6716 from Mindavi/bugfix/cast
eval-cache: cast rowId to correct type
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/eval-cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval-cache.cc b/src/libexpr/eval-cache.cc index d77b25898..dbfd8e70b 100644 --- a/src/libexpr/eval-cache.cc +++ b/src/libexpr/eval-cache.cc @@ -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) { |