Skip to content

Commit

Permalink
Remove lossy cast
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Sep 11, 2024
1 parent 5731e26 commit 31d4af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datastore/postgres/xid8.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (c Uint64Codec) DecodeDatabaseSQLValue(m *pgtype.Map, oid uint32, format in
if err != nil {
return nil, err
}
return int64(n), nil
return n, nil
}

func (c Uint64Codec) DecodeValue(m *pgtype.Map, oid uint32, format int16, src []byte) (any, error) {
Expand Down

0 comments on commit 31d4af3

Please sign in to comment.