commit | 7268f33f6a8122a9c521fe36faaf365c643ee86f | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Sat Aug 05 18:20:52 2017 -0700 |
committer | Lev Walkin <vlm@lionet.info> | Sat Aug 05 18:20:52 2017 -0700 |
tree | 80d5d707ee6b9ce3a965b1b905ea47900f37673f | |
parent | ebdf02646dc5d15bcc550a6775a3ed1907417d50 [diff] |
fix warning
diff --git a/libasn1parser/asn1p_integer.c b/libasn1parser/asn1p_integer.c index 98cfe08..2d06fb3 100644 --- a/libasn1parser/asn1p_integer.c +++ b/libasn1parser/asn1p_integer.c
@@ -102,7 +102,7 @@ static char static_buf[128]; int ret = asn1p_itoa_s(static_buf, sizeof(static_buf), v); if(ret > 0) { - assert(ret < sizeof(static_buf)); + assert((size_t)ret < sizeof(static_buf)); return static_buf; } else { return NULL;