Fix narrowing conversion from int64_t to bool
http://hydra.nixos.org/build/36613774
This commit is contained in:
parent
f8a8b4d8f8
commit
75361b6dce
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ public:
|
||||||
auto queryCache(state->queryCache.use()(uri));
|
auto queryCache(state->queryCache.use()(uri));
|
||||||
if (!queryCache.next()) return false;
|
if (!queryCache.next()) return false;
|
||||||
state->caches.emplace(uri,
|
state->caches.emplace(uri,
|
||||||
Cache{(int) queryCache.getInt(0), queryCache.getStr(1), queryCache.getInt(2), (int) queryCache.getInt(3)});
|
Cache{(int) queryCache.getInt(0), queryCache.getStr(1), queryCache.getInt(2) != 0, (int) queryCache.getInt(3)});
|
||||||
}
|
}
|
||||||
|
|
||||||
auto & cache(getCache(*state, uri));
|
auto & cache(getCache(*state, uri));
|
||||||
|
|
Loading…
Reference in a new issue