[PATCH 7/8] Fix pa_object_new macro (missing close paren)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2018-07-16 at 20:25 -0400, Yclept Nemo wrote:
> ---
>  src/pulsecore/object.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/pulsecore/object.h b/src/pulsecore/object.h
> index b3d500e2..15e8365b 100644
> --- a/src/pulsecore/object.h
> +++ b/src/pulsecore/object.h
> @@ -37,7 +37,7 @@ struct pa_object {
>  };
>  
>  pa_object *pa_object_new_internal(size_t size, const char *type_id, bool (*check_type)(const char *type_id));
> -#define pa_object_new(type) ((type*) pa_object_new_internal(sizeof(type), type##_type_id, type##_check_type)
> +#define pa_object_new(type) ((type*) pa_object_new_internal(sizeof(type), type##_type_id, type##_check_type))
>  
>  #define pa_object_free ((void (*) (pa_object* _obj)) pa_xfree)

Thanks! Applied.

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux