Skip to content

Commit

Permalink
s/int8/byte/
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon authored Mar 13, 2024
1 parent a67312a commit 2ac659b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulid.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func (id ULID) MarshalTextTo(dst []byte) error {

// Byte to index table for O(1) lookups when unmarshaling.
// We use 0xFF as sentinel value for invalid indexes.
var dec = [...]int8{
var dec = [...]byte{
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
Expand Down

0 comments on commit 2ac659b

Please sign in to comment.