Skip to content

Commit

Permalink
Gofix for strconv change.
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalholm committed Dec 22, 2011
1 parent 82886f5 commit f0c2526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (p *parser) parseEscape() (result string, err error) {
for i = start; i < p.i+6 && i < len(p.s) && hexDigit(p.s[i]); i++ {
// empty
}
v, _ := strconv.Btoui64(p.s[start:i], 16)
v, _ := strconv.ParseUint(p.s[start:i], 16, 64)
if len(p.s) > i {
switch p.s[i] {
case '\r':
Expand Down

0 comments on commit f0c2526

Please sign in to comment.