OSSP CVS Repository

ossp - Check-in [5011]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5011
Date: 2005-Feb-03 10:54:30 (local)
2005-Feb-03 09:54:30 (UTC)
User:rse
Branch:
Comment: fix isnan/isinf and va_list handling
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ut_format.c      1.12 -> 1.13     2 inserted, 1 deleted

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