Max has uploaded this change for review. ( https://gerrit.osmocom.org/12367


Change subject: LCLS: use proper types for value_string wrappers
......................................................................

LCLS: use proper types for value_string wrappers

Change-Id: I0f47a610e06ac99bd60a5aad6f50f3658480165e
---
M include/osmocom/gsm/gsm0808.h
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/67/12367/1

diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index 79d89e5..76b77b6 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -219,13 +219,13 @@
 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);
 }


--
To view, visit https://gerrit.osmocom.org/12367
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f47a610e06ac99bd60a5aad6f50f3658480165e
Gerrit-Change-Number: 12367
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>

Reply via email to