[vlc-devel] src/control/core.c patch

Filippo Carone filippo at carone.org
Sun Dec 11 19:16:42 CET 2005


 On 64bit systems vlc_current_object symbol return type defaults to
int (probably because the compiler cannot find the symbol
itself). As suggested by zorglub on irc, declaring it solves a cast
bug.

Index: src/control/core.c
===================================================================
--- src/control/core.c  (revision 13679)
+++ src/control/core.c  (working copy)
@@ -56,6 +56,7 @@
 #define RAISE( c, m )  exception->code = c; \
                        exception->message = strdup(m);

+vlc_t* vlc_current_object( int );

 mediacontrol_Instance* mediacontrol_new_from_object( int
 vlc_object_id,
                                                      mediacontrol_Exception *exception )

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list