aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-01 22:44:11 +0100
committerMax Kellermann <max@duempel.org>2013-12-01 22:44:16 +0100
commitfc10bdf24d0492f1eb1686c55dbc692a40720bf2 (patch)
treef29a6057f57b4aa333653a0631ea42a35b5dae41 /src/pcm
parent28ad79c97ab273d5077847cc81ca969c63474219 (diff)
downloadmpd-fc10bdf24d0492f1eb1686c55dbc692a40720bf2.tar.gz
mpd-fc10bdf24d0492f1eb1686c55dbc692a40720bf2.tar.xz
mpd-fc10bdf24d0492f1eb1686c55dbc692a40720bf2.zip
pcm/SampleTraits: use 64 bit for S24 long_type
Diffstat (limited to 'src/pcm')
-rw-r--r--src/pcm/Traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/Traits.hxx b/src/pcm/Traits.hxx
index 58a61c9c5..b17123c0d 100644
--- a/src/pcm/Traits.hxx
+++ b/src/pcm/Traits.hxx
@@ -99,7 +99,7 @@ struct SampleTraits<SampleFormat::S24_P32> {
typedef value_type *pointer_type;
typedef const value_type *const_pointer_type;
- typedef int long_type;
+ typedef int64_t long_type;
static constexpr size_t SAMPLE_SIZE = sizeof(value_type);
static constexpr unsigned BITS = 24;