From: jstebbins Date: Thu, 30 Oct 2014 18:34:12 +0000 (+0000) Subject: param: fix compiler warning X-Git-Tag: 0.10.0~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c82462e74f0d6556827f5bfaa56d80527f7baa6;p=handbrake param: fix compiler warning git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6484 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- 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) {