Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 422254 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]
Working patch
cdrdao-1.2.3-gcc5.3.patch (text/plain), 765 bytes, created by
hexum
on 2016-01-07 22:48:24 UTC
(
hide
)
Description:
Working patch
Filename:
MIME Type:
Creator:
hexum
Created:
2016-01-07 22:48:24 UTC
Size:
765 bytes
patch
obsolete
>From fb14cd15702cbd4bf811a5f7a5edea00c7ac2b66 Mon Sep 17 00:00:00 2001 >From: root <hexumg@gmail.com> >Date: Fri, 8 Jan 2016 00:34:43 +0300 >Subject: [PATCH] CdrDriver.cc:498:64: Fix narrowing conversion error > >--- > dao/CdrDriver.cc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/dao/CdrDriver.cc b/dao/CdrDriver.cc >index ee89620..4d1edda 100644 >--- a/dao/CdrDriver.cc >+++ b/dao/CdrDriver.cc >@@ -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] = { '\xff', '\x00', '\xff', '\x00' }; > > > /* Maps a string to the corresponding driver option value >-- >2.6.4
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