diff -Naur cdrdao-1.2.3.orig/dao/CdrDriver.cc cdrdao-1.2.3/dao/CdrDriver.cc --- cdrdao-1.2.3.orig/dao/CdrDriver.cc 2009-09-12 09:21:25.000000000 -0700 +++ cdrdao-1.2.3/dao/CdrDriver.cc 2016-01-05 10:36:18.145297911 -0800 @@ -495,7 +495,7 @@ 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0 }; -char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 }; +unsigned char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 }; /* Maps a string to the corresponding driver option value diff -Naur cdrdao-1.2.3.orig/dao/CdrDriver.h cdrdao-1.2.3/dao/CdrDriver.h --- cdrdao-1.2.3.orig/dao/CdrDriver.h 2009-02-21 02:27:31.000000000 -0800 +++ cdrdao-1.2.3/dao/CdrDriver.h 2016-01-05 10:36:18.146297911 -0800 @@ -440,7 +440,7 @@ bool fullBurn_; static unsigned char syncPattern[12]; - static char REMOTE_MSG_SYNC_[4]; + unsigned static char REMOTE_MSG_SYNC_[4]; static int speed2Mult(int); static int mult2Speed(int); diff -Naur cdrdao-1.2.3.orig/xdao/CdDevice.cc cdrdao-1.2.3/xdao/CdDevice.cc --- cdrdao-1.2.3.orig/xdao/CdDevice.cc 2009-02-21 05:49:17.000000000 -0800 +++ cdrdao-1.2.3/xdao/CdDevice.cc 2016-01-05 10:36:57.345299610 -0800 @@ -255,10 +255,10 @@ bool CdDevice::updateProgress(Glib::IOCondition cond, int fd) { - static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 }; + unsigned static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 }; fd_set fds; int state = 0; - char buf[10]; + unsigned char buf[10]; struct timeval timeout = { 0, 0 }; if (process_ == NULL)