select_codecs(): constify ct arg

Change-Id: Icb07374b40629e48d811a036b9a56d026c1d897c
This commit is contained in:
Neels Hofmeyr 2023-03-01 03:42:28 +01:00
parent 89493f76b1
commit 7bd795515f
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ static int bssmap_handle_lcls_connect_ctrl(struct gsm_subscriber_connection *con
* lchan is requested. The preferred lchan will be requested first. If we
* find an alternate setting here, this one will be tried secondly if our
* primary choice fails. */
static int select_codecs(struct assignment_request *req, struct gsm0808_channel_type *ct,
static int select_codecs(struct assignment_request *req, const struct gsm0808_channel_type *ct,
struct gsm_subscriber_connection *conn)
{
int rc, i, nc = 0;