summaryrefslogtreecommitdiff
path: root/app-cdr/cdrdao/569344.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/cdrdao/569344.patch')
-rw-r--r--app-cdr/cdrdao/569344.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-cdr/cdrdao/569344.patch b/app-cdr/cdrdao/569344.patch
new file mode 100644
index 0000000..e063a98
--- /dev/null
+++ b/app-cdr/cdrdao/569344.patch
@@ -0,0 +1,24 @@
+diff -up cdrdao-1.2.3/dao/CdrDriver.cc.unsignedchar cdrdao-1.2.3/dao/CdrDriver.cc
+--- cdrdao-1.2.3/dao/CdrDriver.cc.unsignedchar 2009-09-12 18:21:25.000000000 +0200
++++ cdrdao-1.2.3/dao/CdrDriver.cc 2015-09-01 02:27:59.471077118 +0200
+@@ -495,7 +495,7 @@ unsigned char CdrDriver::syncPattern[12]
+ 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0
+ };
+
+-char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 };
++char CdrDriver::REMOTE_MSG_SYNC_[4] = { char(0xff), 0x00, char(0xff), 0x00 };
+
+
+ /* Maps a string to the corresponding driver option value
+diff -up cdrdao-1.2.3/xdao/CdDevice.cc.unsignedchar cdrdao-1.2.3/xdao/CdDevice.cc
+--- cdrdao-1.2.3/xdao/CdDevice.cc.unsignedchar 2009-02-21 14:49:17.000000000 +0100
++++ cdrdao-1.2.3/xdao/CdDevice.cc 2015-09-01 02:32:34.357848839 +0200
+@@ -255,7 +255,7 @@ int CdDevice::updateStatus()
+
+ bool CdDevice::updateProgress(Glib::IOCondition cond, int fd)
+ {
+- static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 };
++ static char msgSync[4] = { char(0xff), 0x00, char(0xff), 0x00 };
+ fd_set fds;
+ int state = 0;
+ char buf[10];