slackware-current/source/kde/patch/k3b/k3b.narrowing.diff
Patrick J Volkerding 646a5c1cbf Mon May 28 19:12:29 UTC 2018
a/pkgtools-15.0-noarch-13.txz:  Rebuilt.
  installpkg: default line length for --terselength is the number of columns.
  removepkg: added --terse mode.
  upgradepkg: default line length for --terselength is the number of columns.
  upgradepkg: accept -option in addition to --option.
ap/vim-8.1.0026-x86_64-1.txz:  Upgraded.
d/bison-3.0.5-x86_64-1.txz:  Upgraded.
e/emacs-26.1-x86_64-1.txz:  Upgraded.
kde/kopete-4.14.3-x86_64-8.txz:  Rebuilt.
  Recompiled against libidn-1.35.
n/conntrack-tools-1.4.5-x86_64-1.txz:  Upgraded.
n/libnetfilter_conntrack-1.0.7-x86_64-1.txz:  Upgraded.
n/libnftnl-1.1.0-x86_64-1.txz:  Upgraded.
n/links-2.16-x86_64-2.txz:  Rebuilt.
  Rebuilt to enable X driver for -g mode.
n/lynx-2.8.9dev.19-x86_64-1.txz:  Upgraded.
n/nftables-0.8.5-x86_64-1.txz:  Upgraded.
n/p11-kit-0.23.11-x86_64-1.txz:  Upgraded.
n/ulogd-2.0.7-x86_64-1.txz:  Upgraded.
n/whois-5.3.1-x86_64-1.txz:  Upgraded.
xap/network-manager-applet-1.8.12-x86_64-1.txz:  Upgraded.
xap/vim-gvim-8.1.0026-x86_64-1.txz:  Upgraded.
2018-05-31 23:39:35 +02:00

71 lines
3.5 KiB
Diff

--- k3b-2.0.3/libk3b/tools/k3bwavefilewriter.cpp.old 2016-05-14 12:33:15.000000000 -0400
+++ k3b-2.0.3/libk3b/tools/k3bwavefilewriter.cpp 2016-05-14 12:34:35.218389226 -0400
@@ -111,17 +111,17 @@
{
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
+ (char)0x52, (char)0x49, (char)0x46, (char)0x46, // 0 "RIFF"
+ (char)0x00, (char)0x00, (char)0x00, (char)0x00, // 4 wavSize
+ (char)0x57, (char)0x41, (char)0x56, (char)0x45, // 8 "WAVE"
+ (char)0x66, (char)0x6d, (char)0x74, (char)0x20, // 12 "fmt "
+ (char)0x10, (char)0x00, (char)0x00, (char)0x00, // 16
+ (char)0x01, (char)0x00, (char)0x02, (char)0x00, // 20
+ (char)0x44, (char)0xac, (char)0x00, (char)0x00, // 24
+ (char)0x10, (char)0xb1, (char)0x02, (char)0x00, // 28
+ (char)0x04, (char)0x00, (char)0x10, (char)0x00, // 32
+ (char)0x64, (char)0x61, (char)0x74, (char)0x61, // 36 "data"
+ (char)0x00, (char)0x00, (char)0x00, (char)0x00 // 40 byteCount
};
m_outputStream.writeRawData( riffHeader, 44 );
--- k3b-2.0.3/libk3b/projects/k3bcdrdaowriter.cpp.old 2014-11-04 13:37:31.000000000 -0500
+++ k3b-2.0.3/libk3b/projects/k3bcdrdaowriter.cpp 2016-05-14 12:41:13.769135417 -0400
@@ -908,7 +908,7 @@
void K3b::CdrdaoWriter::parseCdrdaoMessage()
{
- static const char msgSync[] = { 0xff, 0x00, 0xff, 0x00 };
+ static const char msgSync[] = { (char)0xff, (char)0x00, (char)0xff, (char)0x00 };
unsigned int avail = m_comSock->bytesAvailable();
unsigned int msgs = avail / ( sizeof(msgSync)+d->progressMsgSize );
unsigned int count = 0;
--- k3b-2.0.3/plugins/encoder/external/k3bexternalencoder.cpp.old 2014-11-04 13:37:31.000000000 -0500
+++ k3b-2.0.3/plugins/encoder/external/k3bexternalencoder.cpp 2016-05-14 12:45:57.967902413 -0400
@@ -39,17 +39,17 @@
static const char s_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
+ (char)0x52, (char)0x49, (char)0x46, (char)0x46, // 0 "RIFF"
+ (char)0x00, (char)0x00, (char)0x00, (char)0x00, // 4 wavSize
+ (char)0x57, (char)0x41, (char)0x56, (char)0x45, // 8 "WAVE"
+ (char)0x66, (char)0x6d, (char)0x74, (char)0x20, // 12 "fmt "
+ (char)0x10, (char)0x00, (char)0x00, (char)0x00, // 16
+ (char)0x01, (char)0x00, (char)0x02, (char)0x00, // 20
+ (char)0x44, (char)0xac, (char)0x00, (char)0x00, // 24
+ (char)0x10, (char)0xb1, (char)0x02, (char)0x00, // 28
+ (char)0x04, (char)0x00, (char)0x10, (char)0x00, // 32
+ (char)0x64, (char)0x61, (char)0x74, (char)0x61, // 36 "data"
+ (char)0x00, (char)0x00, (char)0x00, (char)0x00 // 40 byteCount
};