From 5b6f511c2fcad4edaccedbeb9842680cf3aeffb1 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 6 Feb 2015 20:40:46 +0000 Subject: [PATCH] hw/xwin: printf format fix in winCreateDefColormap() Use %lu for unsigned long Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison --- hw/xwin/wincmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xwin/wincmap.c b/hw/xwin/wincmap.c index 1bdc7df70..318bfac11 100644 --- a/hw/xwin/wincmap.c +++ b/hw/xwin/wincmap.c @@ -515,7 +515,7 @@ winCreateDefColormap(ScreenPtr pScreen) */ #if CYGDEBUG - winDebug("winCreateDefColormap - defColormap: %d\n", pScreen->defColormap); + winDebug("winCreateDefColormap - defColormap: %lu\n", pScreen->defColormap); #endif /* Allocate an X colormap, owned by client 0 */