summaryrefslogtreecommitdiffstats
path: root/src/gsm0808.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-04-28 10:05:29 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-04-28 10:05:29 +0200
commita074ec4b893af1eda06144b8b857a09cc9b1c375 (patch)
tree5db52c4ba1acb0bb2a4a7e57e493e9838528a318 /src/gsm0808.c
parent221030fc85c9e0232eb0adcf1142ac1c48c8778a (diff)
gsm 08.08: Fix some u_int8_t -> uint8_t
This breaks the ARM build in osmocom-bb. Besides uint??_t seems to be the preferred type in osmocore. (coming from stdint.h vs sys/types.h) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/gsm0808.c')
-rw-r--r--src/gsm0808.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm0808.c b/src/gsm0808.c
index 9f6f0059..7a7eb3a0 100644
--- a/src/gsm0808.c
+++ b/src/gsm0808.c
@@ -150,7 +150,7 @@ struct msgb *gsm0808_create_cipher_reject(uint8_t cause)
return msg;
}
-struct msgb *gsm0808_create_classmark_update(const uint8_t *classmark_data, u_int8_t length)
+struct msgb *gsm0808_create_classmark_update(const uint8_t *classmark_data, uint8_t length)
{
struct msgb *msg = msgb_alloc_headroom(BSSMAP_MSG_SIZE, BSSMAP_MSG_HEADROOM,
"classmark-update");
@@ -191,7 +191,7 @@ struct msgb *gsm0808_create_assignment_completed(struct gsm_lchan *lchan, uint8_
uint8_t chosen_channel, uint8_t encr_alg_id,
uint8_t speech_mode)
{
- u_int8_t *data;
+ uint8_t *data;
struct msgb *msg = msgb_alloc(35, "bssmap: ass compl");
if (!msg)