diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-17 03:06:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-17 03:06:54 +0200 |
commit | 4f36cc76f25632212d1c661bd82780b2f938819d (patch) | |
tree | 64131943e7139ab8a5b20cdf003aa6a5411f80f4 | |
parent | 26d5f28f8a53b9b11280eeda42de80d7e06072e9 (diff) |
channelmap: make sure a mask is generated is 64 bit int
-rw-r--r-- | src/pulse/channelmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/channelmap.h b/src/pulse/channelmap.h index d0474262d..d7901ac21 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 { |