aboutsummaryrefslogtreecommitdiff
path: root/ncurses/trace/varargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncurses/trace/varargs.c')
-rw-r--r--ncurses/trace/varargs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ncurses/trace/varargs.c b/ncurses/trace/varargs.c
index f4ee46710abb..541173d27459 100644
--- a/ncurses/trace/varargs.c
+++ b/ncurses/trace/varargs.c
@@ -34,7 +34,7 @@
#include <ctype.h>
-MODULE_ID("$Id: varargs.c,v 1.7 2008/08/03 15:42:49 tom Exp $")
+MODULE_ID("$Id: varargs.c,v 1.8 2008/11/16 00:19:59 juergen Exp $")
#ifdef TRACE
@@ -44,7 +44,7 @@ typedef enum {
atUnknown = 0, atInteger, atFloat, atPoint, atString
} ARGTYPE;
-#define VA_INT(type) ival = va_arg(ap, type)
+#define VA_INT(type) ival = (int) va_arg(ap, type)
#define VA_FLT(type) fval = va_arg(ap, type)
#define VA_PTR(type) pval = (char *)va_arg(ap, type)
#define VA_STR(type) sval = va_arg(ap, type)