[vlc-devel] commit: Fix invalid cast ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 21 14:10:35 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 21 15:13:55 2008 +0300| [42b0c980a4909e904c51a8d169315213357596b0] | committer: Rémi Denis-Courmont 

Fix invalid cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42b0c980a4909e904c51a8d169315213357596b0
---

 .../gui/qt4/components/complete_preferences.cpp    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/complete_preferences.cpp b/modules/gui/qt4/components/complete_preferences.cpp
index c016643..78372d1 100644
--- a/modules/gui/qt4/components/complete_preferences.cpp
+++ b/modules/gui/qt4/components/complete_preferences.cpp
@@ -191,7 +191,7 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
         }
     }
     module_config_free( p_config );
-    vlc_object_release( (vlc_object_t*)p_module );
+    module_release( p_module );
 
 
     vlc_list_t *p_list = vlc_list_find( p_intf, VLC_OBJECT_MODULE,




More information about the vlc-devel mailing list