cosmetic: RLCMAC_EncDEc.cc: fix typos in comments
Change-Id: Id91ed01759c3e1e2b52f1e35b1f4198fbc052408
diff --git a/library/RLCMAC_EncDec.cc b/library/RLCMAC_EncDec.cc
index 777815f..f4735e9 100644
--- a/library/RLCMAC_EncDec.cc
+++ b/library/RLCMAC_EncDec.cc
@@ -279,7 +279,7 @@
}
/* bit-shift the entire 'src' of length 'length_bytes' by 'offset_bits'
- * and store the reuslt to caller-allocated 'buffer'. The shifting is
+ * and store the result to caller-allocated 'buffer'. The shifting is
* done lsb-first. */
static void clone_aligned_buffer_lsbf(unsigned int offset_bits, unsigned int length_bytes,
const uint8_t *src, uint8_t *buffer)
@@ -938,7 +938,7 @@
int i;
if (!in.blocks().is_bound()) {
- /* we don't have nay blocks: Add length value (zero) */
+ /* we don't have any blocks: Add length value (zero) */
in.mac__hdr().e() = false; /* E=0: extension octet follows */
} else if (in.blocks().size_of() == 1 && in.blocks()[0].hdr() == OMIT_VALUE) {
/* If there's only a single block, and that block has no HDR value defined, */