--- l2_ut_format.c 2005/02/03 09:48:52 1.12
+++ l2_ut_format.c 2005/02/03 09:54:30 1.13
@@ -96,6 +96,7 @@
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
+#include <math.h>
#include "l2_config.h"
#include "l2_ut_format.h"
@@ -1042,7 +1043,7 @@
if (vbuff->format != NULL) {
vbuff->format(vbuff,
&prefix_char, &pad_char, &s, &s_len,
- num_buf, NUM_BUF_SIZE, extinfo, *fmt, &ap);
+ num_buf, NUM_BUF_SIZE, extinfo, *fmt, (va_list *)(void *)&ap);
if (s == NULL)
return -1;
}
|