fix: configuration 包字段类型转换修复
This commit is contained in:
parent
e7aacf047d
commit
aef7740f5c
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue