summaryrefslogtreecommitdiff
path: root/shells/rc/patches/patch-ab
blob: ece255c152fc3bc62fec561d03f3edc298dc9b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);