mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
Fix compilation warnings
This commit is contained in:
parent
cd23da3c74
commit
5e93ad0638
6 changed files with 27 additions and 10 deletions
|
|
@ -47,7 +47,7 @@ static sd_event_source *cli_sigs[_NSIG];
|
|||
static sd_event_source *cli_stdin;
|
||||
static bool cli_rl;
|
||||
static const struct cli_cmd *cli_cmds;
|
||||
int cli_max_sev = LOG_NOTICE;
|
||||
unsigned int cli_max_sev = LOG_NOTICE;
|
||||
|
||||
static bool is_cli(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ static void sink_handle_set_parameter(struct ctl_sink *s,
|
|||
_rtsp_message_unref_ struct rtsp_message *rep = NULL;
|
||||
const char *trigger;
|
||||
const char *url;
|
||||
const char *uibc_config;
|
||||
char *uibc_config;
|
||||
const char *uibc_setting;
|
||||
char *nu;
|
||||
unsigned int cea_res, vesa_res, hh_res;
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ bool ctl_sink_is_closed(struct ctl_sink *s);
|
|||
|
||||
/* CLI handling */
|
||||
|
||||
extern int cli_max_sev;
|
||||
extern unsigned int cli_max_sev;
|
||||
void cli_printv(const char *fmt, va_list args);
|
||||
void cli_printf(const char *fmt, ...);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue