Skip to content

Commit

Permalink
Merge pull request #120 from fangyincheng/master
Browse files Browse the repository at this point in the history
Fix: decType
  • Loading branch information
AlexStocks committed Sep 3, 2019
2 parents 85a0add + 4adeed8 commit 3c77bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode.go
Expand Up @@ -124,7 +124,7 @@ func (d *Decoder) decType() (string, error) {
return d.decString(int32(tag))
}

if idx, err = d.decInt32(TAG_READ); err != nil {
if idx, err = d.decInt32(int32(tag)); err != nil {
return "", perrors.WithStack(err)
}

Expand Down

0 comments on commit 3c77bd0

Please sign in to comment.