[Spice-devel] [win32-qxl PATCH] Fix annoying typo in print format statement.
Frediano Ziglio
fziglio at redhat.com
Mon Jun 22 11:28:38 PDT 2015
>
> Missing useful information.
> ---
> 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..84f9756 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 %d\n",
> __FUNCTION__,
> surf->sizlBitmap.cx,
> surf->sizlBitmap.cy,
> --
> 1.9.5.msysgit.0
>
Looks fine. %u would be even better as the parameter (pdev->max_bitmap_size) is UINT32.
Frediano
More information about the Spice-devel
mailing list