[Spice-devel] [win32-qxl PATCH v2] Fix annoying typo in print format statement

Sandy Stutsman sstutsma at redhat.com
Mon Jun 22 13:34:40 PDT 2015


Add missing information
---
%u is better than %d !
---

xddm/display/res.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xddm/display/res.c b/xddm/display/res.c
index bfb3571..6864e51 100644
--- a/xddm/display/res.c
+++ b/xddm/display/res.c
@@ -2005,7 +2005,7 @@ static BOOL CacheSizeTest(PDev *pdev, SURFOBJ *surf)
{
BOOL ret = (UINT32)surf->sizlBitmap.cx * surf->sizlBitmap.cy <= 
pdev->max_bitmap_size;
if (!ret) {
- DEBUG_PRINT((pdev, 1, "%s: cache size test failed x %d y %d max\n",
+ DEBUG_PRINT((pdev, 1, "%s: cache size test failed x %d y %d max %u\n",
__FUNCTION__,
surf->sizlBitmap.cx,
surf->sizlBitmap.cy,
-- 
1.9.5.msysgit.0



More information about the Spice-devel mailing list