diff --git a/main/channel.c b/main/channel.c index 4cd7f35bce..3a3656c35a 100644 --- a/main/channel.c +++ b/main/channel.c @@ -571,7 +571,7 @@ int ast_best_codec(int fmts) /* This just our opinion, expressed in code. We are asked to choose the best codec to use, given no information */ int x; - static int prefs[] = + static const int prefs[] = { /*! Okay, ulaw is used by all telephony equipment, so start with it */ AST_FORMAT_ULAW,