# HG changeset patch # User Ryan C. Gordon # Date 1349409397 14400 # Node ID 3c48e9d0ce2e4330c72ac188a87dc441fa0d3a05 # Parent 1fc5f5116bd01c058423e5ccbf71e9ec66cae8e3 Fixed compiler warning in debug code. diff -r 1fc5f5116bd0 -r 3c48e9d0ce2e src/video/x11/SDL_x11modes.c --- a/src/video/x11/SDL_x11modes.c Thu Oct 04 20:41:22 2012 -0700 +++ b/src/video/x11/SDL_x11modes.c Thu Oct 04 23:56:37 2012 -0400 @@ -274,7 +274,7 @@ 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; }