diff options
author | Lev Walkin <vlm@lionet.info> | 2004-06-28 21:20:50 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-06-28 21:20:50 +0000 |
commit | 4ef7c320b884852ab9d2f1f1fe62b21c109bacea (patch) | |
tree | c9b2486bdd81097c04383a76af86b51c82ed1a91 /libasn1parser/asn1p_expr_str.h | |
parent | 27ea3808ef29a01fb2a2597008675aff25d29d7b (diff) |
comparison with sign
Diffstat (limited to 'libasn1parser/asn1p_expr_str.h')
-rw-r--r-- | libasn1parser/asn1p_expr_str.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libasn1parser/asn1p_expr_str.h b/libasn1parser/asn1p_expr_str.h index 7d98a55c..93567f88 100644 --- a/libasn1parser/asn1p_expr_str.h +++ b/libasn1parser/asn1p_expr_str.h @@ -47,8 +47,8 @@ static char *asn1p_expr_type2str[] __attribute__ ((unused)) = { */ #define ASN_EXPR_TYPE2STR(type) \ ( \ - (((ssize_t)type) < 0 \ - || ((size_t)type) >= sizeof(asn1p_expr_type2str) \ + (((ssize_t)(type)) < 0 \ + || ((size_t)(type)) >= sizeof(asn1p_expr_type2str) \ / sizeof(asn1p_expr_type2str[0])) \ ? (char *)0 \ : asn1p_expr_type2str[(type)] \ |