diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-08 20:55:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-08 20:55:46 +0000 |
commit | d5d3886f1cf09caad3af2fabdc2fd6b641cb1922 (patch) | |
tree | 3367eec35563ae43e773adb7cd7370831fc7cd64 /shells/rc/patches/patch-ab | |
parent | 7c6dac34567847da271ee0acb998f85077b1859a (diff) | |
download | pkgsrc-d5d3886f1cf09caad3af2fabdc2fd6b641cb1922.tar.gz |
short gets promoted to int according to ISO C rules, so use int for
va_arg instead of short.
Diffstat (limited to 'shells/rc/patches/patch-ab')
-rw-r--r-- | shells/rc/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shells/rc/patches/patch-ab b/shells/rc/patches/patch-ab new file mode 100644 index 00000000000..ece255c152f --- /dev/null +++ b/shells/rc/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/01/08 20:56:07 joerg Exp $ + +--- print.c.orig 2006-01-08 20:54:47.000000000 +0000 ++++ print.c +@@ -104,7 +104,7 @@ static void intconv(Format *format, unsi + if (flags & FMT_long) + n = va_arg(format->args, long); + else if (flags & FMT_short) +- n = va_arg(format->args, short); ++ n = va_arg(format->args, int); + else + n = va_arg(format->args, int); + |