Commit dcbc6d8f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warnings (it does not seem very logical for log_open to take a read-only libvlc anyway)

parent 3ef3aa10
...@@ -1169,7 +1169,7 @@ VLC_PUBLIC_API void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, uns ...@@ -1169,7 +1169,7 @@ VLC_PUBLIC_API void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, uns
* \param p_instance libvlc instance * \param p_instance libvlc instance
* \param exception an initialized exception pointer * \param exception an initialized exception pointer
*/ */
VLC_PUBLIC_API libvlc_log_t *libvlc_log_open( const libvlc_instance_t *, libvlc_exception_t *); VLC_PUBLIC_API libvlc_log_t *libvlc_log_open( libvlc_instance_t *, libvlc_exception_t *);
/** /**
* Close an instance of VLC message log * Close an instance of VLC message log
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
struct libvlc_log_t struct libvlc_log_t
{ {
const libvlc_instance_t *p_instance; libvlc_instance_t *p_instance;
msg_subscription_t *p_messages; msg_subscription_t *p_messages;
}; };
...@@ -58,7 +58,7 @@ void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, unsigned level, li ...@@ -58,7 +58,7 @@ void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, unsigned level, li
RAISEVOID("Invalid VLC instance!"); RAISEVOID("Invalid VLC instance!");
} }
libvlc_log_t *libvlc_log_open( const libvlc_instance_t *p_instance, libvlc_exception_t *p_e ) libvlc_log_t *libvlc_log_open( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
{ {
struct libvlc_log_t *p_log = struct libvlc_log_t *p_log =
(struct libvlc_log_t *)malloc(sizeof(struct libvlc_log_t)); (struct libvlc_log_t *)malloc(sizeof(struct libvlc_log_t));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment