[farsight2/master] Remove useless/dangerous casts

Olivier Crête olivier.crete at collabora.co.uk
Mon Dec 22 19:23:17 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.h b/gst/fsrtpconference/fs-rtp-session.h
index 17adf0f..1b3eddd 100644
--- a/gst/fsrtpconference/fs-rtp-session.h
+++ b/gst/fsrtpconference/fs-rtp-session.h
@@ -95,9 +95,9 @@ struct _FsRtpSession
   } while (0);
 #else
 #define FS_RTP_SESSION_LOCK(session) \
-  g_mutex_lock (FS_RTP_SESSION_CAST (session)->mutex)
+  g_mutex_lock ((session)->mutex)
 #define FS_RTP_SESSION_UNLOCK(session) \
-  g_mutex_unlock (FS_RTP_SESSION_CAST (session)->mutex)
+  g_mutex_unlock ((session)->mutex)
 #endif
 
 GType fs_rtp_session_get_type (void);
-- 
1.5.6.5




More information about the farsight-commits mailing list