From e8b82ff59c698a5016f753de6b46e9e826b988ba Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 2 May 2002 17:19:49 +0000 Subject: [PATCH] Compiler fix for RedHat 7.1 --- lib/mbdiesel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mbdiesel.c b/lib/mbdiesel.c index b73ec42e..1a292b19 100644 --- a/lib/mbdiesel.c +++ b/lib/mbdiesel.c @@ -66,7 +66,7 @@ void MacroVars( const char *codes, const char *fmt, ...) sprintf(tmp1,"@(setvar,%c,%d)",codes[j],vd); break; case 'c': /* char */ - vc = va_arg(ap, char); + vc = va_arg(ap, int); sprintf(tmp1,"@(setvar,%c,%c)",codes[j],vc); break; case 'f': /* char */