Skip to content
Snippets Groups Projects
Commit 1cfef343 authored by Lyndon Brown's avatar Lyndon Brown Committed by Jean-Baptiste Kempf
Browse files

core: fix `--mix-mode` default warning

fixes the following warning that occurs after the introduction of type
strictness to the plugin descriptor macros in MR 319 ([1]):

WARNING : ../include/vlc_plugin.h:397: 18:  initialization of 'int64_t' {aka 'long int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  397 |     int64_t _v = (v); \
      |                  ^
../include/vlc_plugin.h:477:5: note: in expansion of macro 'add_int_inner'
  477 |     add_int_inner(CONFIG_ITEM_INTEGER, name, text, longtext, value)
      |     ^~~~~~~~~~~~~
libvlc-module.c:1578:5: note: in expansion of macro 'add_integer'
 1578 |     add_integer( "mix-mode", NULL, MIX_MODE_TEXT, MIX_MODE_TEXT )
      |     ^~~~~~~~~~~

[1]: !319
parent 6a5b5c60
No related branches found
No related tags found
1 merge request!320core: fix `--mix-mode` default warning
Pipeline #112565 passed with stage
in 30 minutes and 5 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment