summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/bluetooth/a2dp-codec-gst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/bluetooth/a2dp-codec-gst.c b/src/modules/bluetooth/a2dp-codec-gst.c
index 8ef74be9c..11839c580 100644
--- a/src/modules/bluetooth/a2dp-codec-gst.c
+++ b/src/modules/bluetooth/a2dp-codec-gst.c
@@ -22,6 +22,7 @@
#endif
#include <arpa/inet.h>
+#include <stdint.h>
#include <pulsecore/log.h>
#include <pulsecore/macro.h>
@@ -82,7 +83,7 @@ fail:
static GstCaps *gst_create_caps_from_sample_spec(const pa_sample_spec *ss) {
gchar *sample_format;
GstCaps *caps;
- int channel_mask;
+ uint64_t channel_mask;
switch (ss->format) {
case PA_SAMPLE_S16LE: