Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 422038 Details for
Bug 569344
app-cdr/cdrdao-1.2.3-r2 - CdrDriver.cc:498:64: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cdrdao-1.2.3-gcc5.patch based on comment #14
cdrdao-1.2.3-gcc5.patch (text/plain), 1.50 KB, created by
qbt937
on 2016-01-05 19:42:48 UTC
(
hide
)
Description:
cdrdao-1.2.3-gcc5.patch based on comment #14
Filename:
MIME Type:
Creator:
qbt937
Created:
2016-01-05 19:42:48 UTC
Size:
1.50 KB
patch
obsolete
>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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 569344
:
420516
|
420574
|
420880
| 422038 |
422254
|
422256