player/command: fix flags type in mp_option_run_callback

PR #15457 has not been rebased after merge of #15828 resulting in type
mismatch.

Fixes: f57c0af5f2
This commit is contained in:
Kacper Michajłow committed 2025-02-17 20:08:16 +00:00
1 parent 39b53dd893
commit 1b9ac22e83
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7726,7 +7726,7 @@ void mp_option_run_callback(struct MPContext *mpctx, int index)
struct MPOpts *opts = mpctx->opts;
struct m_config_option *co = mpctx->option_callbacks[index].co;
void *opt_ptr = co ? co->data : NULL;
int flags = mpctx->option_callbacks[index].flags;
uint64_t flags = mpctx->option_callbacks[index].flags;
if (flags & UPDATE_TERM)
mp_update_logging(mpctx, false);
+1 -1
View File
@@ -68,7 +68,7 @@ struct mp_cmd_ctx {
struct mp_option_callback {
struct m_config_option *co;
int flags;
uint64_t flags;
};
void run_command(struct MPContext *mpctx, struct mp_cmd *cmd,