[PATCH:libXt 1/6] Use appropriate variable type for vsnprintf return value.

Thomas Klausner wiz at NetBSD.org
Tue Jun 25 15:43:32 PDT 2013


---
 src/Alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Alloc.c b/src/Alloc.c
index c523d81..c9ffce8 100644
--- a/src/Alloc.c
+++ b/src/Alloc.c
@@ -133,7 +133,7 @@ Cardinal XtAsprintf(
     ...)
 {
     char buf[256];
-    Cardinal len;
+    int len;
     va_list ap;
 
     va_start(ap, format);
-- 
1.8.3.1



More information about the xorg-devel mailing list