fix: configuration 包字段类型转换修复

This commit is contained in:
kercylan98 2023-08-01 13:34:43 +08:00
parent e7aacf047d
commit aef7740f5c
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}