aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitwise.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitwise.go b/bitwise.go
index 689e667..b180400 100644
--- a/bitwise.go
+++ b/bitwise.go
@@ -8,7 +8,7 @@ func validateBitZeros(bs []byte, n uint) bool {
q := n / 8
r := n % 8
- for i := uint(0); i < q; i++ {
+ for i := range q {
if bs[i] != 0 {
return false
}