[PATCH 3/4] xfree86: warning fix

Keith Packard keithp at keithp.com
Tue Mar 15 08:37:54 PDT 2011


On Tue, 15 Mar 2011 11:05:06 -0400, Adam Jackson <ajax at redhat.com> wrote:

> -				if (asprintf(&s, "%ul %ul", val1, val.num) == -1)
> +				if (asprintf(&s, "%lu %u", val1, val.num) == -1)

Reviewed-by: Keith Packard <keithp at keithp.com>

(as an aside, I was amused to find that 'val' is a global symbol in the
X server).

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110315/fe34627f/attachment.pgp>


More information about the xorg-devel mailing list