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:
Vasil Velichkov 2017-10-19 04:27:44 +03:00 committed by Lev Walkin
parent 3d3af67a37
commit c8bc573f06
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}