Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
0b6f16ff
Commit
0b6f16ff
authored
Aug 19, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation warnings.
parent
92e417c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/misc/notify/msn.c
modules/misc/notify/msn.c
+4
-3
No files found.
modules/misc/notify/msn.c
View file @
0b6f16ff
...
@@ -52,7 +52,7 @@ static void Close ( vlc_object_t * );
...
@@ -52,7 +52,7 @@ static void Close ( vlc_object_t * );
static
int
ItemChange
(
vlc_object_t
*
,
const
char
*
,
static
int
ItemChange
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
vlc_value_t
,
vlc_value_t
,
void
*
);
static
int
SendToMSN
(
char
*
psz_msg
);
static
int
SendToMSN
(
c
onst
c
har
*
psz_msg
);
#define MSN_MAX_LENGTH 256
#define MSN_MAX_LENGTH 256
...
@@ -134,6 +134,7 @@ static void Close( vlc_object_t *p_this )
...
@@ -134,6 +134,7 @@ static void Close( vlc_object_t *p_this )
static
int
ItemChange
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
static
int
ItemChange
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
{
{
(
void
)
psz_var
;
(
void
)
oldval
;
(
void
)
newval
;
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
param
;
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
param
;
char
psz_tmp
[
MSN_MAX_LENGTH
];
char
psz_tmp
[
MSN_MAX_LENGTH
];
char
*
psz_title
=
NULL
;
char
*
psz_title
=
NULL
;
...
@@ -180,7 +181,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -180,7 +181,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
free
(
psz_artist
);
free
(
psz_artist
);
free
(
psz_album
);
free
(
psz_album
);
SendToMSN
(
psz_tmp
);
SendToMSN
(
(
const
char
*
)
psz_tmp
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
@@ -189,7 +190,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
...
@@ -189,7 +190,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
/*****************************************************************************
/*****************************************************************************
* SendToMSN
* SendToMSN
*****************************************************************************/
*****************************************************************************/
static
int
SendToMSN
(
char
*
psz_msg
)
static
int
SendToMSN
(
c
onst
c
har
*
psz_msg
)
{
{
COPYDATASTRUCT
msndata
;
COPYDATASTRUCT
msndata
;
HWND
msnui
=
NULL
;
HWND
msnui
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment