Mercurial > sdl-ios-xcode
view .hgignore @ 4432:77ebcd41b577
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 22:01:14 -0700 |
parents | be1929ccaa3d |
children | ba66ff156955 aece2b6fb985 |
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 include/SDL_revision.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/testloadso test/testgl2 test/testcursor test/testwm2 test/testmultiaudio test/testresample test/testdraw2 test/testmmousetablet test/testdyngles test/testaudioinfo test/testgles test/testsprite2 test/testintersections test/testhaptic test/testime test/testatomic test/testspriteminimal test/testfill test/*.exe test/*.dSYM