summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r--src/pulsecore/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h
index 86660b7a..a64f2179 100644
--- a/src/pulsecore/core.h
+++ b/src/pulsecore/core.h
@@ -98,7 +98,7 @@ struct pa_core {
};
PA_DECLARE_CLASS(pa_core);
-#define PA_CORE(o) ((pa_core*) o)
+#define PA_CORE(o) pa_core_cast(o)
enum {
PA_CORE_MESSAGE_UNLOAD_MODULE,