aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/diam_dict.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/diam_dict.l b/epan/diam_dict.l
index b9006fb890..1792db91e1 100644
--- a/epan/diam_dict.l
+++ b/epan/diam_dict.l
@@ -103,7 +103,7 @@ static char** attr_str;
static unsigned* attr_uint;
static void ddict_debug(const char* fmt, ...);
-static void append_to_buffer(char* txt, int len);
+static void append_to_buffer(const char* txt, int len);
static FILE* ddict_open(const char*, const char*);
%}
@@ -550,7 +550,7 @@ void ddict_unused(void) {
yy_top_state();
}
-static void append_to_buffer(char* txt, int len) {
+static void append_to_buffer(const char* txt, int len) {
if (strbuf == NULL) {
read_ptr = write_ptr = strbuf = g_malloc(size_strbuf);