summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-17 03:06:54 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-17 03:06:54 +0200
commit4f36cc76f25632212d1c661bd82780b2f938819d (patch)
tree64131943e7139ab8a5b20cdf003aa6a5411f80f4
parent26d5f28f8a53b9b11280eeda42de80d7e06072e9 (diff)
channelmap: make sure a mask is generated is 64 bit int
-rw-r--r--src/pulse/channelmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/channelmap.h b/src/pulse/channelmap.h
index d0474262..d7901ac2 100644
--- a/src/pulse/channelmap.h
+++ b/src/pulse/channelmap.h
@@ -209,7 +209,7 @@ typedef enum pa_channel_position {
typedef uint64_t pa_channel_position_mask_t;
/** Makes a bit mask from a channel position. \since 0.9.16 */
-#define PA_CHANNEL_POSITION_MASK(f) ((pa_channel_position_mask_t) (1 << (f)))
+#define PA_CHANNEL_POSITION_MASK(f) ((pa_channel_position_mask_t) (1ULL << (f)))
/** A list of channel mapping definitions for pa_channel_map_init_auto() */
typedef enum pa_channel_map_def {