Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:Staging:C
audiofile
audiofile-gcc6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File audiofile-gcc6.patch of Package audiofile
--- libaudiofile/modules/SimpleModule.h | 2 +- test/NeXT.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) --- a/libaudiofile/modules/SimpleModule.h +++ b/libaudiofile/modules/SimpleModule.h @@ -123,7 +123,7 @@ struct signConverter typedef typename IntTypes<Format>::UnsignedType UnsignedType; static const int kScaleBits = (Format + 1) * CHAR_BIT - 1; - static const int kMinSignedValue = -1 << kScaleBits; + static const int kMinSignedValue = -1U << kScaleBits; struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType> { --- a/test/NeXT.cpp +++ b/test/NeXT.cpp @@ -37,7 +37,7 @@ #include "TestUtilities.h" -const char kDataUnspecifiedLength[] = +const unsigned char kDataUnspecifiedLength[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes @@ -57,7 +57,7 @@ const char kDataUnspecifiedLength[] = 0, 55 }; -const char kDataTruncated[] = +const unsigned char kDataTruncated[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes @@ -152,7 +152,7 @@ TEST(NeXT, Truncated) ASSERT_EQ(::unlink(testFileName.c_str()), 0); } -const char kDataZeroChannels[] = +const unsigned char kDataZeroChannels[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes
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