Int64 to string.
This commit is contained in:
parent
4ca43961f4
commit
c64f7c8e01
@ -97,7 +97,7 @@ func NewNode(node int64) (*Node, error) {
|
||||
nodeShift = StepBits
|
||||
|
||||
if node < 0 || node > nodeMax {
|
||||
return nil, errors.New("Node number must be between 0 and " + strconv.Itoa(nodeMax))
|
||||
return nil, errors.New("Node number must be between 0 and " + strconv.FormatInt(nodeMax, 10))
|
||||
}
|
||||
|
||||
return &Node{
|
||||
|
Loading…
x
Reference in New Issue
Block a user