summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm0808.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-12-19 17:05:37 +0100
committerMax <msuraev@sysmocom.de>2019-01-09 16:17:17 +0000
commite118ed22e39730552c6d9cd923c920f03029abec (patch)
tree09abedcd0a16667b2ccdfca2c4929105b0cd324c /include/osmocom/gsm/gsm0808.h
parentd621a1ec2ed361d5ce8d3ff71a00b71e22b88933 (diff)
LCLS: use proper types for value_string wrappers
Change-Id: I0f47a610e06ac99bd60a5aad6f50f3658480165e
Diffstat (limited to 'include/osmocom/gsm/gsm0808.h')
-rw-r--r--include/osmocom/gsm/gsm0808.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index ac887488..782f3ecd 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -219,13 +219,13 @@ extern const struct value_string gsm0808_lcls_config_names[];
extern const struct value_string gsm0808_lcls_control_names[];
extern const struct value_string gsm0808_lcls_status_names[];
-static inline const char *gsm0808_lcls_config_name(uint8_t val) {
+static inline const char *gsm0808_lcls_config_name(enum gsm0808_lcls_config val) {
return get_value_string(gsm0808_lcls_config_names, val);
}
-static inline const char *gsm0808_lcls_control_name(uint8_t val) {
+static inline const char *gsm0808_lcls_control_name(enum gsm0808_lcls_control val) {
return get_value_string(gsm0808_lcls_control_names, val);
}
-static inline const char *gsm0808_lcls_status_name(uint8_t val) {
+static inline const char *gsm0808_lcls_status_name(enum gsm0808_lcls_status val) {
return get_value_string(gsm0808_lcls_status_names, val);
}