Fix another piece of code to build with -std=c++11.

This commit is contained in:
Marius Strobl 2017-04-30 21:32:50 +00:00
parent 59c51e0ce0
commit 89faac92f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439848

View file

@ -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];