[farsight2/master] Turns out the de-const typecasts were needed

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:21:27 PST 2008


---
 gst-libs/gst/farsight/fs-candidate.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-candidate.c b/gst-libs/gst/farsight/fs-candidate.c
index 3b4b3c6..d891aee 100644
--- a/gst-libs/gst/farsight/fs-candidate.c
+++ b/gst-libs/gst/farsight/fs-candidate.c
@@ -74,12 +74,12 @@ fs_candidate_list_get_type (void)
 void
 fs_candidate_destroy (FsCandidate * cand)
 {
-  g_free (cand->foundation);
-  g_free (cand->candidate_id);
-  g_free (cand->ip);
-  g_free (cand->base_ip);
-  g_free (cand->username);
-  g_free (cand->password);
+  g_free ((gchar *) cand->foundation);
+  g_free ((gchar *) cand->candidate_id);
+  g_free ((gchar *) cand->ip);
+  g_free ((gchar *) cand->base_ip);
+  g_free ((gchar *) cand->username);
+  g_free ((gchar *) cand->password);
 
   g_free (cand);
 }
-- 
1.5.6.5




More information about the farsight-commits mailing list