OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ut_format.c versions 1.12 and 1.13
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ut_format.c 1.12 -> 1.13

--- 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;
                     }

CVSTrac 2.0.1