Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f3b32f6f
Commit
f3b32f6f
authored
Sep 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pointer-int casts warnings
parent
9f279d64
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/input/var.c
src/input/var.c
+2
-2
src/modules/entry.c
src/modules/entry.c
+2
-2
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+1
-1
No files found.
src/input/var.c
View file @
f3b32f6f
...
...
@@ -283,7 +283,7 @@ void input_ControlVarNavigation( input_thread_t *p_input )
var_Create
(
p_input
,
val
.
psz_string
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
|
VLC_VAR_ISCOMMAND
);
var_AddCallback
(
p_input
,
val
.
psz_string
,
NavigationCallback
,
(
void
*
)
i
);
NavigationCallback
,
(
void
*
)
(
intptr_t
)
i
);
if
(
p_input
->
p
->
title
[
i
]
->
psz_name
==
NULL
||
*
p_input
->
p
->
title
[
i
]
->
psz_name
==
'\0'
)
...
...
@@ -667,7 +667,7 @@ static int NavigationCallback( vlc_object_t *p_this, char const *psz_cmd,
(
void
)
psz_cmd
;
(
void
)
oldval
;
/* Issue a title change */
val
.
i_int
=
(
int
)
p_data
;
val
.
i_int
=
(
int
ptr_t
)
p_data
;
input_ControlPush
(
p_input
,
INPUT_CONTROL_SET_TITLE
,
&
val
);
var_Change
(
p_input
,
"title"
,
VLC_VAR_SETVALUE
,
&
val
,
NULL
);
...
...
src/modules/entry.c
View file @
f3b32f6f
...
...
@@ -78,7 +78,7 @@ int vlc_module_set (module_t *module, int propid, void *value)
{
case
VLC_MODULE_CPU_REQUIREMENT
:
assert
(
!
module
->
b_submodule
);
module
->
i_cpu
|=
(
int
)
value
;
module
->
i_cpu
|=
(
int
ptr_t
)
value
;
break
;
case
VLC_MODULE_SHORTCUT
:
...
...
@@ -109,7 +109,7 @@ int vlc_module_set (module_t *module, int propid, void *value)
break
;
case
VLC_MODULE_SCORE
:
module
->
i_score
=
(
int
)
value
;
module
->
i_score
=
(
int
ptr_t
)
value
;
break
;
case
VLC_MODULE_PROGRAM
:
...
...
src/video_output/vout_intf.c
View file @
f3b32f6f
...
...
@@ -98,7 +98,7 @@ void *vout_RequestWindow( vout_thread_t *p_vout,
/* Check whether someone provided us with a window ID */
var_Get
(
p_vout
->
p_libvlc
,
"drawable"
,
&
val
);
if
(
val
.
i_int
)
return
(
void
*
)
val
.
i_int
;
if
(
val
.
i_int
)
return
(
void
*
)
(
intptr_t
)
val
.
i_int
;
/* Find if the main interface supports embedding */
p_list
=
vlc_list_find
(
p_vout
,
VLC_OBJECT_INTF
,
FIND_ANYWHERE
);
...
...
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