diff options
author | joerg <joerg> | 2006-01-08 20:55:46 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-08 20:55:46 +0000 |
commit | df94e6efb94ce325ee3dce3ac9180e001fc663d5 (patch) | |
tree | 3367eec35563ae43e773adb7cd7370831fc7cd64 /shells/es | |
parent | a7fa96db3f58f031864ee57ec704e7efbe195f08 (diff) | |
download | pkgsrc-df94e6efb94ce325ee3dce3ac9180e001fc663d5.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/es')
-rw-r--r-- | shells/es/distinfo | 3 | ||||
-rw-r--r-- | shells/es/patches/patch-ag | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/shells/es/distinfo b/shells/es/distinfo index 2303cb3b08e..35eb0882f2b 100644 --- a/shells/es/distinfo +++ b/shells/es/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2005/11/10 22:18:33 joerg Exp $ +$NetBSD: distinfo,v 1.11 2006/01/08 20:59:05 joerg Exp $ SHA1 (es-0.9-alpha1.tar.gz) = 5027c9dade742c437b8e471a356d15883ebc4732 RMD160 (es-0.9-alpha1.tar.gz) = ca2307202ab6e65c49188e3228d1af6426a23952 @@ -9,3 +9,4 @@ SHA1 (patch-ac) = 978debd8079eedf7d09862e9946bfd9957c46732 SHA1 (patch-ad) = 63bf69c25dc9e610b9375685459a1fd05ea66e1e SHA1 (patch-ae) = 3625310b30bbf64f24d6efbcd1864b7e8a92ff59 SHA1 (patch-af) = e637be09b74092fb2fc5c34a7c09b824da4eea26 +SHA1 (patch-ag) = 04e043548a7dc3502b158d5b1a7e22602e237b68 diff --git a/shells/es/patches/patch-ag b/shells/es/patches/patch-ag new file mode 100644 index 00000000000..c70f443c006 --- /dev/null +++ b/shells/es/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2006/01/08 20:59:05 joerg Exp $ + +--- print.c.orig 2006-01-08 20:57:49.000000000 +0000 ++++ print.c +@@ -90,7 +90,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); + |