summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 75c61f48..7cb0b9ff 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -24,7 +24,7 @@
* Escape characters as %XX sequences.
* Return value: New string.
*/
-char *a_Misc_escape_chars(const char *str, char *esc_set)
+char *a_Misc_escape_chars(const char *str, const char *esc_set)
{
static const char *hex = "0123456789ABCDEF";
char *p = NULL;