--- composite/compinit.c.orig 2008-06-27 19:54:41.000000000 +0000 +++ composite/compinit.c 2008-06-27 20:10:45.000000000 +0000 @@ -122,11 +122,11 @@ if (ret && (mask & CWBackingStore)) { if (pWin->backingStore != NotUseful) { compRedirectWindow(serverClient, pWin, CompositeRedirectAutomatic); - pWin->backStorage = TRUE; + pWin->backStorage = (pointer) TRUE; } else { compUnredirectWindow(serverClient, pWin, CompositeRedirectAutomatic); - pWin->backStorage = FALSE; + pWin->backStorage = (pointer) FALSE; } }