Commit c8bc573f authored by Vasil Velichkov's avatar Vasil Velichkov Committed by Lev Walkin

Fix another sign-compare error in oer_support.c

oer_support.c:66:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
parent 3d3af67a
......@@ -63,7 +63,7 @@ oer_fetch_length(const void *bufptr, size_t size, size_t *len_r) {
}
*len_r = len;
assert(len_len + 1 == bend - (const uint8_t *)bufptr);
assert(len_len + 1 == (size_t)(bend - (const uint8_t *)bufptr));
return len_len + 1;
}
......
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