Re: [win32-qxl PATCH] Fix annoying typo in print format statement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]