OSDN Git Service

libgo: Update to weekly.2011-11-01.
[pf3gnuchains/gcc-fork.git] / libgo / go / exp / norm / triegen.go
index 515e1c7..56cba32 100644 (file)
@@ -94,9 +94,9 @@ func (n trieNode) countSparseEntries() int {
        return count
 }
 
-func (n *trieNode) insert(rune int, value uint16) {
+func (n *trieNode) insert(r rune, value uint16) {
        var p [utf8.UTFMax]byte
-       sz := utf8.EncodeRune(p[:], rune)
+       sz := utf8.EncodeRune(p[:], r)
 
        for i := 0; i < sz; i++ {
                if n.leaf {