summaryrefslogtreecommitdiff
path: root/epan/strutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/strutil.c')
-rw-r--r--epan/strutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/strutil.c b/epan/strutil.c
index 4052211c95..36211a3bf9 100644
--- a/epan/strutil.c
+++ b/epan/strutil.c
@@ -528,7 +528,7 @@ uri_str_to_bytes(const char *uri_str, GByteArray *bytes) {
* Given a GByteArray, generate a string from it that shows non-printable
* characters as percent-style escapes, and return a pointer to it.
*/
-gchar *
+const gchar *
format_uri(const GByteArray *bytes, const gchar *reserved_chars)
{
static gchar *fmtbuf[3];