diff --git a/.vscode/launch.json b/.vscode/launch.json index bab7e591..5ec22047 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,8 +12,7 @@ "print", "primary", "--shell=pwsh", - "--terminal-width=200", - "--config=/Users/jan/.test.omp.json" + "--terminal-width=200" ] }, { diff --git a/src/properties/map.go b/src/properties/map.go index 71a497fe..0c982dea 100644 --- a/src/properties/map.go +++ b/src/properties/map.go @@ -123,6 +123,8 @@ func (m Map) GetInt(property Property, defaultValue int) int { return v case int64: return int(v) + case uint64: + return int(v) case float64: intValue, ok := val.(float64) if !ok {