bug fix for skip

This commit is contained in:
siddontang 2014-05-07 17:06:18 +08:00
parent 8a593bd360
commit 8994b2aabd
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}