mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw.git
synced 2025-11-03 05:23:23 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user