Commit 0cad0976 authored by aligungr's avatar aligungr

L3 RRC/NAS developments

parent 6ae860ca
...@@ -36,7 +36,7 @@ void nas::EncodeBcdString(OctetString &stream, const std::string &bcd, size_t oc ...@@ -36,7 +36,7 @@ void nas::EncodeBcdString(OctetString &stream, const std::string &bcd, size_t oc
if (skipFirst) if (skipFirst)
{ {
for (int i = bcd.length(); i >= 1; i--) for (size_t i = bcd.length(); i >= 1; i--)
halfOctets[i] = halfOctets[i - 1]; halfOctets[i] = halfOctets[i - 1];
halfOctets[0] = skippedHalfOctet & 0xF; halfOctets[0] = skippedHalfOctet & 0xF;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment