[PATCH libXRes] Compute number of bytes correctly in XResQueryClientPixmapBytes

Julien Cristau jcristau at debian.org
Sun Jun 30 11:14:44 PDT 2013


On Sun, Jun 30, 2013 at 20:09:49 +0200, Julien Cristau wrote:

> 64-bit servers send the upper 32-bit in bytes_overflow.  We were
> multiplying by 2^32 - 1 instead of 2^32 when putting things back
> together.
> 
> Debian bug#621702
> 
> Reported-by: Kevin Ryde <user42 at zip.com.au>
> Signed-off-by: Julien Cristau <jcristau at debian.org>
> ---
>  src/XRes.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Sorry, forgot to fix Subject before sending.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130630/aa8d04d6/attachment.pgp>


More information about the xorg-devel mailing list