Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
SDL2_image
bigendian_undefined_s.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bigendian_undefined_s.patch of Package SDL2_image
From: Dinar Valeev <dvaleev@suse.com> Date: Thu, 12 Sep 2013 12:51:31 +0200 build: resolve compile abort on big-endian platforms s was not declared. Addition by jengelh: Make it unsigned, because that is the only thing to make sense with the >> operator. Index: SDL2_image-2.0.0/IMG_webp.c =================================================================== --- SDL2_image-2.0.0.orig/IMG_webp.c +++ SDL2_image-2.0.0/IMG_webp.c @@ -242,6 +242,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops * Bmask = 0x00FF0000; Amask = (features.has_alpha) ? 0xFF000000 : 0; #else + unsigned int s; s = (features.has_alpha) ? 0 : 8; Rmask = 0xFF000000 >> s; Gmask = 0x00FF0000 >> s;
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