Quartz driver: Make sure we pass a pointer to the right type.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 02 Jan 2006 12:48:58 +0000
changeset 1220ca2f0da7b708
parent 1219 9a7a016d5a71
child 1221 8ef3e7e92a91
Quartz driver: Make sure we pass a pointer to the right type.
src/video/quartz/SDL_QuartzVideo.m
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.m	Mon Jan 02 12:37:40 2006 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.m	Mon Jan 02 12:48:58 2006 +0000
     1.3 @@ -503,7 +503,7 @@
     1.4  
     1.5  static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int width,
     1.6                                             int height, int bpp, Uint32 flags) {
     1.7 -    int exact_match;
     1.8 +    boolean_t exact_match = 0;
     1.9      int gamma_error;
    1.10      SDL_QuartzGammaTable gamma_table;
    1.11      NSRect screen_rect;