From b1477b6834fcbd6462d3c215b7619ef31f083f53 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 05:34:02 +0000 Subject: Fix compile errors --- app-cdr/cdrdao/569344.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app-cdr/cdrdao/569344.patch (limited to 'app-cdr/cdrdao/569344.patch') 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]; -- cgit v1.2.3