Skip to content

Commit

Permalink
fix: configuration 包字段类型转换修复
Browse files Browse the repository at this point in the history
  • Loading branch information
kercylan98 committed Aug 1, 2023
1 parent e7aacf0 commit aef7740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner/pce/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func (slf Uintptr) Zero() any {
}

func (slf Uintptr) Parse(value string) any {
v, _ := strconv.ParseUint(value, 10, 64)
v, _ := strconv.ParseInt(value, 10, 64)
return uintptr(v)
}

Expand Down

0 comments on commit aef7740

Please sign in to comment.