Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Commit

Permalink
Change ChnnelNumber type
Browse files Browse the repository at this point in the history
From int -> uint16
  • Loading branch information
songjiayang committed Jun 17, 2019
1 parent f11d5ba commit bda409f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chann.go
Expand Up @@ -12,7 +12,7 @@ import (
// The CHANNEL-NUMBER attribute contains the number of the channel.
//
// RFC 5766 Section 14.1
type ChannelNumber int // encoded as uint16
type ChannelNumber uint16 // encoded as uint16

func (n ChannelNumber) String() string { return strconv.Itoa(int(n)) }

Expand Down

0 comments on commit bda409f

Please sign in to comment.