Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compiler warning in debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 5, 2012
1 parent dc46c13 commit 15aa5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11modes.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 15aa5e8

Please sign in to comment.