X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=share%2Fst_resol.c;h=c3ebaa3c01b49f4cf2f3818f8d45631016ed2345;hb=70da92a0efb91317f15717e7cc0725ba820a0334;hp=b212ea5c621a1625e5ef750ec22a3737134fe746;hpb=5cd785f69a80b1650e66efa8672584748b745ef7;p=neverball diff --git a/share/st_resol.c b/share/st_resol.c index b212ea5..c3ebaa3 100644 --- a/share/st_resol.c +++ b/share/st_resol.c @@ -63,7 +63,7 @@ static int resol_enter(void) modes = SDL_ListModes(NULL, SDL_OPENGL | SDL_FULLSCREEN); - if ((int) modes == -1) + if (modes == (SDL_Rect **) -1) modes = NULL; if ((id = gui_vstack(0)))