Mercurial > sdl-ios-xcode
view .hgignore @ 4431:d660ca4f7b1f SDL-1.2
Fixed bug 944
Tatu Kilappa 2010-02-11 12:13:20 PST
When compiling with -Wconversion, gcc complains about a cast in SDL_endian.h
that might change the result as we are casting from an int into an Uint16. This
is of course not visible unless we are on a non-x86 platform where the
assembler is not available.
While it's not really an error, the warning is really annoying. To fix, change
SDL_endian.h line 87 to:
return(Uint16)((x<<8)|(x>>8));
Thank you.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 13 Apr 2010 21:46:10 -0700 |
parents | eaa84e527969 |
children |
line wrap: on
line source
syntax:glob aclocal.m4 autom4te* config.cache config.log config.status configure libtool Makefile sdl-config SDL.spec SDL.qpg build build-deps VisualC VisualCE Xcode .DS_Store sdl.pc include/SDL_config.h test/aclocal.m4 test/autom4te* test/config.cache test/config.log test/config.status test/configure test/Makefile test/SDL.dll test/stdout.txt test/stderr.txt test/checkkeys test/graywin test/loopwave test/testpower test/testalpha test/testbitmap test/testblitspeed test/testcdrom test/testdyngl test/testerror test/testfile test/testgamma test/testgl test/testhread test/testiconv test/testjoystick test/testkeys test/testlock test/testoverlay test/testoverlay2 test/testpalette test/testplatform test/testsem test/testsprite test/testtimer test/testver test/testvidinfo test/testwin test/testwm test/threadwin test/torturethread test/testcursor test/testloadso test/*.exe test/*.dSYM