summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/roken/snprintf.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 11:28:20 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 11:28:20 +0000
commit5ed96cd5daa48af752db4781418f32f9258cce94 (patch)
treecbf6e4300b6d10326e92349d0f71b9054f47c4f2 /crypto/heimdal/lib/roken/snprintf.c
parent69414e22b995b6d161fc19bcab66823585f1d394 (diff)
downloadFreeBSD-src-5ed96cd5daa48af752db4781418f32f9258cce94.zip
FreeBSD-src-5ed96cd5daa48af752db4781418f32f9258cce94.tar.gz
Vendor import of Heimdal 0.2p
Diffstat (limited to 'crypto/heimdal/lib/roken/snprintf.c')
-rw-r--r--crypto/heimdal/lib/roken/snprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/heimdal/lib/roken/snprintf.c b/crypto/heimdal/lib/roken/snprintf.c
index 0333e87..4f69e66 100644
--- a/crypto/heimdal/lib/roken/snprintf.c
+++ b/crypto/heimdal/lib/roken/snprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995-1997, 1999 Kungliga Tekniska Högskolan
+ * Copyright (c) 1995-2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -33,7 +33,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
-RCSID("$Id: snprintf.c,v 1.24 1999/12/02 16:58:52 joda Exp $");
+RCSID("$Id: snprintf.c,v 1.25 2000/02/16 01:38:52 assar Exp $");
#endif
#include <stdio.h>
#include <stdarg.h>
@@ -265,7 +265,7 @@ append_char(struct state *state,
if (long_flag) \
res = (unsig long)va_arg(arg, unsig long); \
else if (short_flag) \
- res = (unsig short)va_arg(arg, unsig short); \
+ res = (unsig short)va_arg(arg, unsig int); \
else \
res = (unsig int)va_arg(arg, unsig int)
OpenPOWER on IntegriCloud