openbsd-ports/devel/ElectricFence/patches/patch-print_c

13 lines
346 B
Plaintext

$OpenBSD: patch-print_c,v 1.1 2002/11/17 21:14:59 drahn Exp $
--- print.c.orig Tue Nov 12 09:45:58 2002
+++ print.c Tue Nov 12 09:02:04 2002
@@ -99,7 +99,7 @@ vprint(const char * pattern, va_list arg
break;
case 'c':
{
- char c = va_arg(args, char);
+ char c = va_arg(args, int);
(void) write(2, &c, 1);
}