On 06/25/13 02:13 PM, Mark Kettenis wrote:
From: Thomas Klausner <w...@netbsd.org>
Date: Tue, 25 Jun 2013 23:02:45 +0200

len is unsigned and can't be smaller than zero.

But vsnprintf(3) returns a signed integer, which can be -1.

Right, so I guess we either make len be signed, or change the if statement
to "if (len == (Cardinal) -1)".

--
        -Alan Coopersmith-              alan.coopersm...@oracle.com
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to