mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +00:00
[raffle] Lint: Ignore linter false-positive
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
1d192ad796
commit
150daf8a80
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func (cryptRandSrc) Int63() int64 {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
// mask off sign bit to ensure positive number
|
// mask off sign bit to ensure positive number
|
||||||
return int64(binary.LittleEndian.Uint64(b[:]) & (1<<63 - 1))
|
return int64(binary.LittleEndian.Uint64(b[:]) & (1<<63 - 1)) //#nosec:G115 - Masking ensures conversion is fine
|
||||||
}
|
}
|
||||||
|
|
||||||
// We're using a non-seedable source
|
// We're using a non-seedable source
|
||||||
|
|
Loading…
Reference in a new issue