From b3be964d1cdddabb0f01172bbdae26914b738e45 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 23 Jun 2017 12:38:55 +0200 Subject: 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 --- src/gsm/abis_nm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c index c59ebb7c..2ad19455 100644 --- a/src/gsm/abis_nm.c +++ b/src/gsm/abis_nm.c @@ -98,10 +98,10 @@ const enum abis_nm_msgtype abis_nm_nacks[33] = { 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[] = { -- cgit v1.2.3