diff --git a/leveldb/iterator.go b/leveldb/iterator.go index 3de0965..f53e5c5 100644 --- a/leveldb/iterator.go +++ b/leveldb/iterator.go @@ -137,7 +137,7 @@ func (it *Iterator) Next() { } func (it *Iterator) Skip(offset int64) { - for i := 0; i < offset; i++ { + for i := int64(0); i < offset; i++ { if it.Valid() { it.Next() }