1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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];
|