From fc10bdf24d0492f1eb1686c55dbc692a40720bf2 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Sun, 1 Dec 2013 22:44:11 +0100
Subject: pcm/SampleTraits: use 64 bit for S24 long_type

---
 src/pcm/Traits.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit v1.2.3