diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-23 12:38:55 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-23 12:57:20 +0200 |
commit | b3be964d1cdddabb0f01172bbdae26914b738e45 (patch) | |
tree | 9322162d0ec35b0467e559393af997ed56e0e643 /src | |
parent | ea809df904dc3c59a23e0becf27681b6ecfe794f (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/abis_nm.c | 8 |
1 files changed, 4 insertions, 4 deletions
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[] = { |