Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
xine-lib
xine-lib-1.1.15-cpp-compilation.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xine-lib-1.1.15-cpp-compilation.diff of Package xine-lib
tree 7916d166058a parent 1cb8085922eb author Darren Salt <linux@youmustbejoking.demon.co.uk> 1218967411 -3600 committer Darren Salt <linux@youmustbejoking.demon.co.uk> 1218967411 -3600 revision 9552 branch default Fix a compilation failure when using C++. diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -676,7 +676,7 @@ /* convert xine_waveformatex struct from little endian */ void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED; -static inline _x_is_fourcc(void *ptr, void *tag) { +static inline int _x_is_fourcc(void *ptr, void *tag) { return memcmp(ptr, tag, 4) == 0; } tree 2709fe49f09c parent c35bdd51ce1c author Darren Salt <linux@youmustbejoking.demon.co.uk> 1219080475 -3600 committer Darren Salt <linux@youmustbejoking.demon.co.uk> 1219080475 -3600 revision 9553 branch default Fix another compilation failure when using C++. diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -676,7 +676,7 @@ /* convert xine_waveformatex struct from little endian */ void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED; -static inline int _x_is_fourcc(void *ptr, void *tag) { +static __inline int _x_is_fourcc(void *ptr, void *tag) { return memcmp(ptr, tag, 4) == 0; }
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