From 89faac92f52337b79ccd1f62c18cd85da7ccdf7e Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sun, 30 Apr 2017 21:32:50 +0000 Subject: [PATCH] Fix another piece of code to build with -std=c++11. --- sysutils/cdrdao/files/patch-xdao_CdDevice.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/cdrdao/files/patch-xdao_CdDevice.cc diff --git a/sysutils/cdrdao/files/patch-xdao_CdDevice.cc b/sysutils/cdrdao/files/patch-xdao_CdDevice.cc new file mode 100644 index 000000000000..20118e2f304e --- /dev/null +++ b/sysutils/cdrdao/files/patch-xdao_CdDevice.cc @@ -0,0 +1,11 @@ +--- xdao/CdDevice.cc.orig 2009-02-21 13:49:17 UTC ++++ xdao/CdDevice.cc +@@ -255,7 +255,7 @@ int CdDevice::updateStatus() + + bool CdDevice::updateProgress(Glib::IOCondition cond, int fd) + { +- static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 }; ++ static unsigned char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 }; + fd_set fds; + int state = 0; + char buf[10];