diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-12-19 14:51:33 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-12-19 14:52:44 +0100 |
commit | 09e62cc563bfeffe0340a6f4458d14cba1658458 (patch) | |
tree | 54ac589b66b4dfd4c3b2c79a52de9f302e9079fe | |
parent | a7af7ecf0b5d475c5748a5330efb3d5ccb166c3b (diff) |
amr: osmo_amr_bwe_to_oa() define variable as unsigned
There's no need to have the variable as signed anymore since the loop
was modified in the previous patch. osmo_amr_bytes() returns a size_t
(unsigned).
Change-Id: I8aa6b5f6d3334e152a62b7c28aac3f881f027894
-rw-r--r-- | src/amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ int osmo_amr_bwe_to_oa(uint8_t *payload, unsigned int payload_len, /* The header is only valid after shifting first two bytes to OA mode */ struct amr_hdr *oa_hdr; unsigned int i; - int oa_payload_len; + unsigned int oa_payload_len; memset(buf, 0, sizeof(buf)); |