summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm0480.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 13:28:59 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 13:28:59 +0200
commit39b44bbca771e140e131c66c3e250fc15a3db6d0 (patch)
tree0e656ed164b67d5edc1fc02088989d9d4e536c90 /include/osmocom/gsm/gsm0480.h
parent584427cd04fe03aafdf31c4c295ace306a8ea03d (diff)
gsm 04.80: ussd_request.text can contain 0xff, needs to be unsigned
Found by Smatch
Diffstat (limited to 'include/osmocom/gsm/gsm0480.h')
-rw-r--r--include/osmocom/gsm/gsm0480.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gsm/gsm0480.h b/include/osmocom/gsm/gsm0480.h
index d6626d60..f6c37340 100644
--- a/include/osmocom/gsm/gsm0480.h
+++ b/include/osmocom/gsm/gsm0480.h
@@ -8,7 +8,7 @@
#define MAX_LEN_USSD_STRING 31
struct ussd_request {
- char text[MAX_LEN_USSD_STRING + 1];
+ uint8_t text[MAX_LEN_USSD_STRING + 1];
uint8_t transaction_id;
uint8_t invoke_id;
};