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

Fix some 64bits warnings

parent 54881bea
...@@ -143,7 +143,7 @@ E_(vlc_entry) ( module_t *p_module ); ...@@ -143,7 +143,7 @@ E_(vlc_entry) ( module_t *p_module );
#define add_requirement( cap ) \ #define add_requirement( cap ) \
if (vlc_module_set (p_module, VLC_MODULE_CPU_REQUIREMENT, \ if (vlc_module_set (p_module, VLC_MODULE_CPU_REQUIREMENT, \
(void *)(CPU_CAPABILITY_##cap))) goto error (void *)(intptr_t)(CPU_CAPABILITY_##cap))) goto error
#define add_shortcut( shortcut ) \ #define add_shortcut( shortcut ) \
if (vlc_module_set (p_submodule, VLC_MODULE_SHORTCUT, (void*)(shortcut))) \ if (vlc_module_set (p_submodule, VLC_MODULE_SHORTCUT, (void*)(shortcut))) \
...@@ -163,7 +163,8 @@ E_(vlc_entry) ( module_t *p_module ); ...@@ -163,7 +163,8 @@ E_(vlc_entry) ( module_t *p_module );
#define set_capability( cap, score ) \ #define set_capability( cap, score ) \
if (vlc_module_set (p_submodule, VLC_MODULE_CAPABILITY, (void *)(cap)) \ if (vlc_module_set (p_submodule, VLC_MODULE_CAPABILITY, (void *)(cap)) \
|| vlc_module_set (p_submodule, VLC_MODULE_SCORE, (void *)(score))) \ || vlc_module_set (p_submodule, VLC_MODULE_SCORE, \
(void *)(intptr_t)(score))) \
goto error goto error
#define set_program( program ) \ #define set_program( program ) \
......
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