Int64 to string.

This commit is contained in:
龚尚
2018-04-07 14:51:49 +08:00
committed by GitHub
parent 4ca43961f4
commit c64f7c8e01

View File

@@ -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{