Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning in debug code.

  • Loading branch information
icculus committed Oct 5, 2012
1 parent dc46c13 commit 15aa5e83c322b542b0e7a69028ae581915320791
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11modes.c
@@ -274,7 +274,7 @@ SetXRandRModeInfo(Display *display, XRRScreenResources *res, XRROutputInfo *outp
mode->refresh_rate = CalculateXRandRRefreshRate(info);
((SDL_DisplayModeData*)mode->driverdata)->xrandr_mode = modeID;
#ifdef X11MODES_DEBUG
printf("XRandR mode %d: %dx%d@%dHz\n", modeID, mode->w, mode->h, mode->refresh_rate);
printf("XRandR mode %d: %dx%d@%dHz\n", (int) modeID, mode->w, mode->h, mode->refresh_rate);
#endif
return SDL_TRUE;
}

0 comments on commit 15aa5e8

Please sign in to comment.