summaryrefslogtreecommitdiff
path: root/internal/cache
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache')
-rw-r--r--internal/cache/domain/domain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cache/domain/domain.go b/internal/cache/domain/domain.go
index 274a244f7..c9a43b1e5 100644
--- a/internal/cache/domain/domain.go
+++ b/internal/cache/domain/domain.go
@@ -220,7 +220,7 @@ func (n *node) getChild(part string) *node {
for i < j {
// avoid overflow when computing h
- h := int(uint(i+j) >> 1)
+ h := int(uint(i+j) >> 1) // #nosec G115
// i ≤ h < j
if n.child[h].part < part {