(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)

-CodeLayout: Remove trailing spaces and Windows linebreaks
This commit is contained in:
darkvater
2004-09-12 21:49:38 +00:00
parent 1b498bca57
commit e295e46e3e
40 changed files with 717 additions and 721 deletions

4
sdl.c
View File

@@ -212,9 +212,9 @@ static void DrawSurfaceToScreen()
static int CDECL compare_res(const void *pa, const void *pb)
{
int x = ((uint16*)pa)[0] - ((uint16*)pb)[0];
int x = ((const uint16*)pa)[0] - ((const uint16*)pb)[0];
if (x) return x;
return ((uint16*)pa)[1] - ((uint16*)pb)[1];
return ((const uint16*)pa)[1] - ((const uint16*)pb)[1];
}
static const uint16 default_resolutions[][2] = {