Use a hex constant.

This commit is contained in:
M. J. Fromberger
2022-02-18 13:02:48 -08:00
parent 1009104ab4
commit 45df8ca20b
+1 -1
View File
@@ -37,7 +37,7 @@ func (s *Source) nextCounter() int64 {
func (s *Source) Cursor() Cursor {
return Cursor{
timestamp: uint64(s.timeIndex()),
sequence: uint16(s.nextCounter() & 65535),
sequence: uint16(s.nextCounter() & 0xffff),
}
}