mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
hw/xwin: printf format fixes in winAllocatePrivates()
serverGeneration is of type unsigned long, so use %lu format specifier Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
@@ -48,8 +48,8 @@ winAllocatePrivates(ScreenPtr pScreen)
|
||||
winPrivScreenPtr pScreenPriv;
|
||||
|
||||
#if CYGDEBUG
|
||||
winDebug("winAllocateScreenPrivates - g_ulServerGeneration: %d "
|
||||
"serverGeneration: %d\n", g_ulServerGeneration, serverGeneration);
|
||||
winDebug("winAllocateScreenPrivates - g_ulServerGeneration: %lu "
|
||||
"serverGeneration: %lu\n", g_ulServerGeneration, serverGeneration);
|
||||
#endif
|
||||
|
||||
/* We need a new slot for our privates if the screen gen has changed */
|
||||
|
||||
Reference in New Issue
Block a user