aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/expr-h.pl
diff options
context:
space:
mode:
Diffstat (limited to 'libasn1parser/expr-h.pl')
-rwxr-xr-xlibasn1parser/expr-h.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/libasn1parser/expr-h.pl b/libasn1parser/expr-h.pl
index 64f68921..a66425a8 100755
--- a/libasn1parser/expr-h.pl
+++ b/libasn1parser/expr-h.pl
@@ -42,7 +42,7 @@ print<<EOM;
|| ((size_t)(type)) >= sizeof(asn1p_expr_type2str) \\
/ sizeof(asn1p_expr_type2str[0])) \\
? (char *)0 \\
- : asn1p_expr_type2str[(type)] \\
+ : asn1p_expr_type2str[(int)(type)] \\
)
#endif /* ASN1_PARSER_EXPR_STR_H */