allow for negative ints 😂

This commit is contained in:
Roberto Hidalgo 2023-01-17 17:26:55 -06:00
parent 034aa8648f
commit 121b967793

View File

@ -428,7 +428,7 @@ func (e *Entry) AsMap() any {
}
return boolVal
case "int":
var intVal uint64
var intVal int64
err := e.asNode().Decode(&intVal)
if err != nil {
panic(fmt.Sprintf("could not encode int at %s, %s", e.Path, err))