summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-22 04:59:26 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-26 20:52:18 +0000
commitd83716d315a2d6fdf937a8678f53ecf890102e02 (patch)
tree4a5d81da77eb12e997098ea8e8c255e2362221a3
parente9bc2ae6710f23f9442cb5ec2dbae6768c852eab (diff)
layer23/sap_interface.c: use int for rc in sap_open()
-rw-r--r--src/host/layer23/src/common/sap_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/common/sap_interface.c b/src/host/layer23/src/common/sap_interface.c
index 7a42233..0d42209 100644
--- a/src/host/layer23/src/common/sap_interface.c
+++ b/src/host/layer23/src/common/sap_interface.c
@@ -504,7 +504,7 @@ static int sap_apdu(struct osmocom_ms *ms, uint8_t *data, uint16_t len)
int sap_open(struct osmocom_ms *ms)
{
- ssize_t rc;
+ int rc;
rc = osmo_sock_unix_init_ofd(&ms->sap_wq.bfd, SOCK_STREAM, 0,
ms->settings.sap_socket_path, OSMO_SOCK_F_CONNECT);