Child and ChildCount use different different types
pherrymason opened this issue · 0 comments
pherrymason commented
Hello.
Is there any reason ChildCount
returns an uint32
and Child
accepts an int
?
One would think the value returned by ChildCount would be used later with Child
for i := uint32(0); i < node.ChildCount(); i++ {
n := node.Child(int(i))
}