On 06/25/13 02:13 PM, Mark Kettenis wrote:
From: Thomas Klausner <[email protected]>
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- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel