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:
parent
0d6c499b99
commit
eb67967156
|
@ -48,8 +48,8 @@ winAllocatePrivates(ScreenPtr pScreen)
|
||||||
winPrivScreenPtr pScreenPriv;
|
winPrivScreenPtr pScreenPriv;
|
||||||
|
|
||||||
#if CYGDEBUG
|
#if CYGDEBUG
|
||||||
winDebug("winAllocateScreenPrivates - g_ulServerGeneration: %d "
|
winDebug("winAllocateScreenPrivates - g_ulServerGeneration: %lu "
|
||||||
"serverGeneration: %d\n", g_ulServerGeneration, serverGeneration);
|
"serverGeneration: %lu\n", g_ulServerGeneration, serverGeneration);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* We need a new slot for our privates if the screen gen has changed */
|
/* We need a new slot for our privates if the screen gen has changed */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user