Ethereal-dev: [Ethereal-dev] Minor patch to fix packet-asn1.c "different 'const' qualifiers" w

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Bill Meier" <wmeier@xxxxxxxxxxx>
Date: Sun, 02 Oct 2005 13:02:04 -0500
--- packet-asn1.c       2005-10-02 12:47:17.258920000 -0400
+++ packet-asn1.c.orig  2005-10-02 12:41:13.846358400 -0400
@@ -1183,7 +1183,7 @@
                              }
                      }
                      g_free(octets);
-                     g_free((void *)ename);
+                     g_free(ename);
                      break;

                case ASN1_BTS:
@@ -1605,7 +1605,7 @@
                                        }
                                }
                                g_free(octets);
-                               g_free((void *)ename);
+                               g_free(ename);
                                break;
                        }
                  } else {