[PATCH] libosmocore[master]: abis_nm.c: Fix implicit enumeration type conversion

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Jun 23 10:46:38 UTC 2017


Review at  https://gerrit.osmocom.org/3026

abis_nm.c: Fix implicit enumeration type conversion

Fixes following warning message:
abis_nm.c:101:2: warning: implicit conversion from enumeration type 'enum abis_nm_msgtype_bs11' to different enumeration type 'enum abis_nm_msgtype' [-Wenum-conversion]

Change-Id: Icb0ed423febf1ceb6626e256d32011b4118fc527
---
M src/gsm/abis_nm.c
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/26/3026/1

diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index c59ebb7..2ad1945 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -98,10 +98,10 @@
 	NM_MT_CHG_HW_CONF_NACK,
 	NM_MT_GET_ATTR_NACK,
 	NM_MT_SET_ALARM_THRES_NACK,
-	NM_MT_BS11_BEGIN_DB_TX_NACK,
-	NM_MT_BS11_END_DB_TX_NACK,
-	NM_MT_BS11_CREATE_OBJ_NACK,
-	NM_MT_BS11_DELETE_OBJ_NACK,
+	(enum abis_nm_msgtype) NM_MT_BS11_BEGIN_DB_TX_NACK,
+	(enum abis_nm_msgtype) NM_MT_BS11_END_DB_TX_NACK,
+	(enum abis_nm_msgtype) NM_MT_BS11_CREATE_OBJ_NACK,
+	(enum abis_nm_msgtype) NM_MT_BS11_DELETE_OBJ_NACK,
 };
 
 static const struct value_string nack_names[] = {

-- 
To view, visit https://gerrit.osmocom.org/3026
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb0ed423febf1ceb6626e256d32011b4118fc527
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list