summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coding/gsm0503_coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding/gsm0503_coding.c b/src/coding/gsm0503_coding.c
index 70398632..1e70d2eb 100644
--- a/src/coding/gsm0503_coding.c
+++ b/src/coding/gsm0503_coding.c
@@ -901,7 +901,7 @@ static int egprs_decode_data(uint8_t *l2_data, const sbit_t *c,
u, 0, data_len, 1);
/* Return the number of bytes required for the bit message */
- return NUM_BYTES(code->hdr_len + code->data_len);
+ return OSMO_BYTES_FOR_BITS(code->hdr_len + code->data_len);
}
/*! \brief Decode EGPRS UL message