[MERGED] 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 15:42:44 UTC 2017


Pau Espin Pedrol has submitted this change and it was merged.

Change subject: abis_nm.c: Fix implicit enumeration type conversion
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: Icb0ed423febf1ceb6626e256d32011b4118fc527
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list