Commit 7268f33f authored by Lev Walkin's avatar Lev Walkin

fix warning

parent ebdf0264
...@@ -102,7 +102,7 @@ const char *asn1p_itoa(asn1c_integer_t v) { ...@@ -102,7 +102,7 @@ const char *asn1p_itoa(asn1c_integer_t v) {
static char static_buf[128]; static char static_buf[128];
int ret = asn1p_itoa_s(static_buf, sizeof(static_buf), v); int ret = asn1p_itoa_s(static_buf, sizeof(static_buf), v);
if(ret > 0) { if(ret > 0) {
assert(ret < sizeof(static_buf)); assert((size_t)ret < sizeof(static_buf));
return static_buf; return static_buf;
} else { } else {
return NULL; return NULL;
......
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