coverity: fix type of local var

osmo_sccp_instance_next_conn_id() may return negative on error, so use
int instead of uint.

Fixup for recent 548d3d2f66
'use new osmo_sccp_instance_next_conn_id()'

Related: CID#316694
Change-Id: I2623c06c23691acb75f6ee6ff3a42ac7d10a4b1f
This commit is contained in:
Neels Janosch Hofmeyr
2023-06-02 16:42:51 +02:00
parent f3caea850b
commit 2ce280f232

View File

@@ -57,7 +57,7 @@ struct hnbgw_context_map *context_map_find_or_create_by_rua_ctx_id(struct hnb_co
bool is_ps)
{
struct hnbgw_context_map *map;
uint32_t new_scu_conn_id;
int new_scu_conn_id;
struct hnbgw_cnlink *cnlink;
struct hnbgw_sccp_user *hsu;