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

Yclept Nemo orbisvicis at gmail.com
Tue Jul 17 00:25:43 UTC 2018


---
 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)
 
-- 
2.14.4



More information about the pulseaudio-discuss mailing list