diff options
author | Lev Walkin <vlm@lionet.info> | 2005-06-06 08:28:58 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-06-06 08:28:58 +0000 |
commit | 8f294e0812495974f72c95f52666609d122091e8 (patch) | |
tree | 914e06707fab189f1349db2d1f46fef2ad3f0e3f /libasn1parser/asn1p_expr.c | |
parent | 778556fa428216cdc775d7ab5b2e0d3e3e8cb243 (diff) |
fixes
Diffstat (limited to 'libasn1parser/asn1p_expr.c')
-rw-r--r-- | libasn1parser/asn1p_expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libasn1parser/asn1p_expr.c b/libasn1parser/asn1p_expr.c index 5e2aa34e..f5626a7b 100644 --- a/libasn1parser/asn1p_expr.c +++ b/libasn1parser/asn1p_expr.c @@ -144,7 +144,7 @@ asn1p_expr_free(asn1p_expr_t *expr) { char *asn1p_tag2string(struct asn1p_type_tag_s *tag, char *buf) { - static buf_stat[TAG2STRING_BUFFER_SIZE]; + static char buf_stat[TAG2STRING_BUFFER_SIZE]; char *start; char *end; @@ -170,7 +170,7 @@ char *asn1p_tag2string(struct asn1p_type_tag_s *tag, char *buf) { } buf += snprintf(buf + strlen(buf), end - buf, "%" PRIdASN "]", tag->tag_value); - assert((buf - end) > sizeof(" IMPLICIT ")); + assert((unsigned int)(buf - end) > sizeof(" IMPLICIT ")); switch(tag->tag_mode) { case TM_DEFAULT: break; |