Fix type reported by @migueldvb