aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-03-01 03:42:28 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-03-02 17:56:48 +0100
commit7bd795515f0839e31fccd807d3a5631a82bb6c4e (patch)
tree17520c1add579238c835e6c7c1ad8a46050f8527
parent89493f76b1498983b70e1ed0e95d31147f4ac2e1 (diff)
select_codecs(): constify ct arg
-rw-r--r--src/osmo-bsc/osmo_bsc_bssap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index d1d2a9d07..221e47779 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -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;