aboutsummaryrefslogtreecommitdiff
path: root/libavutil/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r--libavutil/eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c
index 9d179309b7..7a28dbe12d 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -564,7 +564,8 @@ int main(int argc, char **argv)
{
int i;
double d;
- const char **expr, *exprs[] = {
+ const char *const *expr;
+ static const char *const exprs[] = {
"",
"1;2",
"-20",