summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2013-06-26 00:43:32 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-08 23:37:51 -0700
commitce57783ea5b5c47f5dca172d36a76f91dd7704df (patch)
tree7b503d9e9ec22d7a1230e2a6fcc1ddf3538cdf04
parent0bf255ce5f2aeacece0b685996491729f804fe94 (diff)
Use appropriate variable type for vsnprintf return value.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/Alloc.c2
1 files changed, 1 insertions, 1 deletions
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);