Commit a45518f5 authored by Lev Walkin's avatar Lev Walkin

const fix

parent f4b711a2
......@@ -356,7 +356,7 @@ asn1p_expr_free(asn1p_expr_t *expr) {
}
char *asn1p_tag2string(struct asn1p_type_tag_s *tag, char *buf) {
const char *asn1p_tag2string(const struct asn1p_type_tag_s *tag, char *buf) {
static char buf_stat[TAG2STRING_BUFFER_SIZE];
char *start;
char *end;
......
......@@ -286,7 +286,7 @@ void asn1p_expr_set_source(asn1p_expr_t *, asn1p_module_t *, int lineno);
asn1p_paramlist_t *asn1p_get_namespace(asn1p_expr_t *);
#define TAG2STRING_BUFFER_SIZE 64 /* buf should be at least this big */
char *asn1p_tag2string(struct asn1p_type_tag_s *tag, char *opt_buf);
const char *asn1p_tag2string(const struct asn1p_type_tag_s *tag, char *opt_buf);
#define MODULE_NAME_OF(expr) \
((!expr) ? "" : \
......
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