Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 644612 Details for
Bug 723098
media-libs/libmp4v2-2.0.0-r1 build fails with GCC 10: error: narrowing conversion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libmp4v2-2.0.0-narrowing-cast.patch
libmp4v2-2.0.0-narrowing-cast.patch (text/plain), 1.58 KB, created by
Peter Levine
on 2020-06-13 23:36:07 UTC
(
hide
)
Description:
libmp4v2-2.0.0-narrowing-cast.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2020-06-13 23:36:07 UTC
Size:
1.58 KB
patch
obsolete
>Bug: https://bugs.gentoo.org/723098 > >--- a/libutil/Utility.cpp >+++ b/libutil/Utility.cpp >@@ -493,7 +493,7 @@ > if( codes.find( code ) == codes.end() ) > continue; > >- switch( code ) { >+ switch( static_cast<unsigned>(code) ) { > case 'z': > _optimize = true; > break; >--- a/util/mp4art.cpp >+++ b/util/mp4art.cpp >@@ -376,7 +376,7 @@ > { > handled = true; > >- switch( code ) { >+ switch( static_cast<unsigned>(code) ) { > case LC_ART_ANY: > _artFilter = numeric_limits<uint32_t>::max(); > break; >--- a/util/mp4chaps.cpp >+++ b/util/mp4chaps.cpp >@@ -632,7 +632,7 @@ > { > handled = true; > >- switch( code ) { >+ switch( static_cast<unsigned>(code) ) { > case 'A': > case LC_CHPT_ANY: > _ChapterType = MP4ChapterTypeAny; >--- a/util/mp4file.cpp >+++ b/util/mp4file.cpp >@@ -189,7 +189,7 @@ > { > handled = true; > >- switch( code ) { >+ switch( static_cast<unsigned>(code) ) { > case LC_LIST: > _action = &FileUtility::actionList; > break; >--- a/util/mp4subtitle.cpp >+++ b/util/mp4subtitle.cpp >@@ -164,7 +164,7 @@ > { > handled = true; > >- switch( code ) { >+ switch( static_cast<unsigned>(code) ) { > case LC_LIST: > _action = &SubtitleUtility::actionList; > break; >--- a/util/mp4track.cpp >+++ b/util/mp4track.cpp >@@ -788,7 +788,7 @@ > { > handled = true; > >- switch( code ) { >+ switch( static_cast<unsigned>(code) ) { > case LC_TRACK_WILDCARD: > _trackMode = TM_WILDCARD; > break;
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 723098
:
639080
| 644612