Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint
dirac
dirac-1.0.2-gcc45.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dirac-1.0.2-gcc45.patch of Package dirac
Index: dirac-1.0.2/libdirac_encoder/quant_chooser.cpp =================================================================== --- dirac-1.0.2.orig/libdirac_encoder/quant_chooser.cpp +++ dirac-1.0.2/libdirac_encoder/quant_chooser.cpp @@ -340,7 +340,7 @@ void QuantChooser::SetSkip( CodeBlock& c { for (int i=cblock.Xstart(); i<cblock.Xend(); ++i ) { - if ( (std::abs(m_coeff_data[j][i])<<2) >= u_threshold ) + if ( (static_cast<int>(std::abs(m_coeff_data[j][i]))<<2) >= u_threshold ) can_skip = false; } } @@ -355,7 +355,7 @@ CoeffType QuantChooser::BlockAbsMax( con { for (int i=node.Xp() ; i<node.Xp()+node.Xl(); ++i) { - val = std::max( val , std::abs(m_coeff_data[j][i]) ); + val = std::max( val , static_cast<int>(std::abs(m_coeff_data[j][i])) ); }// i }// j
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor