From 6c82462e74f0d6556827f5bfaa56d80527f7baa6 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 30 Oct 2014 18:34:12 +0000 Subject: [PATCH] param: fix compiler warning git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6484 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/param.c b/libhb/param.c index 96b1e2709..ced5dd101 100644 --- a/libhb/param.c +++ b/libhb/param.c @@ -238,7 +238,7 @@ int hb_validate_filter_settings(int filter_id, const char *filter_param) // Regex matches "number" followed by one or more ":number", where number is uint or ufloat const char *hb_colon_separated_params_regex = "^((([0-9]+([.][0-9]+)?)|([.][0-9]+))((:(([0-9]+([.][0-9]+)?)|([.][0-9]+)))+)?)$"; - char *regex_pattern = NULL; + const char *regex_pattern = NULL; switch (filter_id) { -- 2.40.0