pkgsrc/net/mrt/patches/patch-af

13 lines
392 B
Text

$NetBSD: patch-af,v 1.1 2006/03/22 23:55:37 joerg Exp $
--- lib/mrt/buffer.c.orig 2006-03-22 23:49:03.000000000 +0000
+++ lib/mrt/buffer.c
@@ -376,7 +376,7 @@ buffer_vprintf (buffer_t *buffer, char *
case 'x':
case 'b':
if (argtype == 'h')
- ulongarg = va_arg (ap, short);
+ ulongarg = va_arg (ap, int);
else if (argtype == 'l')
ulongarg = va_arg (ap, long);
else