Skip to content

Commit

Permalink
Rename invalid variable name in encVints from seconds to days
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponewor committed Dec 5, 2021
1 parent 48abd1a commit 8f21300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,8 @@ func encIntZigZag(n int64) uint64 {
return uint64((n >> 63) ^ (n << 1))
}

func encVints(months int32, seconds int32, nanos int64) []byte {
buf := append(encVint(int64(months)), encVint(int64(seconds))...)
func encVints(months int32, days int32, nanos int64) []byte {
buf := append(encVint(int64(months)), encVint(int64(days))...)
return append(buf, encVint(nanos)...)
}

Expand Down

0 comments on commit 8f21300

Please sign in to comment.