diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-02 02:14:07 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-05 04:22:56 +0000 |
commit | a9e5252128d1d871739f067fe9b0ca9b9a75a6f7 (patch) | |
tree | 7f92975a8ef4883b3ca5891bb2a03582270484ca /include/osmocom/codec | |
parent | c136da587fc2fafff1f649828eae5c996c345017 (diff) |
vty: Change API to have node installation be done by int
We are mixing enums and hope that no short-enums are used. This
is leading to a lot compiler warnings generated by clang. Change
the API to work with integers.
Porting:
The go_parent_cb implementations in the applications need to be
fixed. The API change leads to a compile time warning.
Fixes:
abis_om2000_vty.c:46:2: warning: implicit conversion from enumeration type 'enum bsc_vty_node' to
different enumeration type 'enum node_type' [-Wenum-conversion]
OM2K_NODE,
^~~~~~~~~
Diffstat (limited to 'include/osmocom/codec')
0 files changed, 0 insertions, 0 deletions