mirror of https://gerrit.osmocom.org/asn1c
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]
This commit is contained in:
parent
3d3af67a37
commit
c8bc573f06
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue