From 5eda7c38eeb0b8822528983e008c55be17c93470 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 8 Jan 2006 20:55:46 +0000 Subject: short gets promoted to int according to ISO C rules, so use int for va_arg instead of short. --- shells/es/distinfo | 3 ++- shells/es/patches/patch-ag | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 shells/es/patches/patch-ag (limited to 'shells/es') 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); + -- cgit v1.2.3