OSSP CVS Repository

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

Check-in Number: 3200
Date: 2003-Feb-10 22:15:41 (local)
2003-Feb-10 21:15:41 (UTC)
User:rse
Branch:
Comment: get rid of warning message because of constness
Tickets:
Inspections:
Files:
ossp-pkg/var/var.c      1.95 -> 1.96     2 inserted, 2 deleted

ossp-pkg/var/var.c 1.95 -> 1.96

--- var.c        2003/02/10 21:12:47     1.95
+++ var.c        2003/02/10 21:15:41     1.96
@@ -1628,14 +1628,14 @@
                                               &out_ptr, &out_len, &out_size);
                 if (rc < 0) {
                     if (arg_ptr != NULL)
-                        free(arg_ptr);
+                        free((void *)arg_ptr);
                     goto error_return;
                 }
                 tokenbuf_free(data);
                 tokenbuf_set(data, out_ptr, out_ptr+out_len, out_size);
             }
             if (arg_ptr != NULL)
-                free(arg_ptr);
+                free((void *)arg_ptr);
             break;
         }
         default:

CVSTrac 2.0.1