diff options
author | Slávek Banko <[email protected]> | 2016-09-03 17:53:48 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-03 17:53:58 +0200 |
commit | 60e00a106872a79fb9d404acc88b4e04c2e16a82 (patch) | |
tree | 1a3e2833e62e5ef4c9e046855fedd2577f7feb56 /libk3b/tools | |
parent | f0cc1a51f0c81883671db8170fe604bda73c1d8c (diff) | |
download | k3b-60e00a106872a79fb9d404acc88b4e04c2e16a82.tar.gz k3b-60e00a106872a79fb9d404acc88b4e04c2e16a82.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit dfbb57e394367376ae6ce7bddfd05912cf520ba4)
Diffstat (limited to 'libk3b/tools')
-rw-r--r-- | libk3b/tools/k3bwavefilewriter.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libk3b/tools/k3bwavefilewriter.cpp b/libk3b/tools/k3bwavefilewriter.cpp index 31ad6e0..fc067aa 100644 --- a/libk3b/tools/k3bwavefilewriter.cpp +++ b/libk3b/tools/k3bwavefilewriter.cpp @@ -112,17 +112,17 @@ void K3bWaveFileWriter::writeEmptyHeader() { static const char riffHeader[] = { - 0x52, 0x49, 0x46, 0x46, // 0 "RIFF" - 0x00, 0x00, 0x00, 0x00, // 4 wavSize - 0x57, 0x41, 0x56, 0x45, // 8 "WAVE" - 0x66, 0x6d, 0x74, 0x20, // 12 "fmt " - 0x10, 0x00, 0x00, 0x00, // 16 - 0x01, 0x00, 0x02, 0x00, // 20 - 0x44, 0xac, 0x00, 0x00, // 24 - 0x10, 0xb1, 0x02, 0x00, // 28 - 0x04, 0x00, 0x10, 0x00, // 32 - 0x64, 0x61, 0x74, 0x61, // 36 "data" - 0x00, 0x00, 0x00, 0x00 // 40 byteCount + '\x52', '\x49', '\x46', '\x46', // 0 "RIFF" + '\x00', '\x00', '\x00', '\x00', // 4 wavSize + '\x57', '\x41', '\x56', '\x45', // 8 "WAVE" + '\x66', '\x6d', '\x74', '\x20', // 12 "fmt " + '\x10', '\x00', '\x00', '\x00', // 16 + '\x01', '\x00', '\x02', '\x00', // 20 + '\x44', '\xac', '\x00', '\x00', // 24 + '\x10', '\xb1', '\x02', '\x00', // 28 + '\x04', '\x00', '\x10', '\x00', // 32 + '\x64', '\x61', '\x74', '\x61', // 36 "data" + '\x00', '\x00', '\x00', '\x00' // 40 byteCount }; m_outputStream.writeRawBytes( riffHeader, 44 ); |