Browse Source

obs-x264: Discard excess warning for e2k

makise-homura 5 years ago
parent
commit
543a3767c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/obs-x264/obs-x264-options.c

+ 1 - 1
plugins/obs-x264/obs-x264-options.c

@@ -45,7 +45,7 @@ struct obs_x264_options obs_x264_parse_options(const char *options_string)
 	struct obs_x264_option *out_option = out_options;
 	for (char **input_word = input_words; *input_word; ++input_word) {
 		if (getparam(*input_word, &out_option->name,
-			     &out_option->value)) {
+			     (const char **)&out_option->value)) {
 			++out_option;
 		} else {
 			*ignored_word = *input_word;