diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 05:34:02 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 05:34:02 +0000 |
commit | b1477b6834fcbd6462d3c215b7619ef31f083f53 (patch) | |
tree | 014938735d11b7e34c73f2b4f586407163efcd13 /app-cdr/cdrdao/569344.patch | |
parent | Fix link errors (diff) | |
download | patches-b1477b6834fcbd6462d3c215b7619ef31f083f53.tar.bz2 patches-b1477b6834fcbd6462d3c215b7619ef31f083f53.tar.xz patches-b1477b6834fcbd6462d3c215b7619ef31f083f53.zip |
Fix compile errors
Diffstat (limited to 'app-cdr/cdrdao/569344.patch')
-rw-r--r-- | app-cdr/cdrdao/569344.patch | 24 |
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]; |