From abe3a8a9d32076eacbe13dd2a206d38b992fa05b Mon Sep 17 00:00:00 2001
From: Arne Goedeke <el@laramies.com>
Date: Tue, 6 May 2014 17:49:49 +0200
Subject: [PATCH] stralloc: const-correctness

---
 src/stralloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stralloc.c b/src/stralloc.c
index fda52dc711..cb2fa6b626 100644
--- a/src/stralloc.c
+++ b/src/stralloc.c
@@ -405,7 +405,7 @@ PMOD_EXPORT p_wchar2 generic_extract (const void *str, int size, ptrdiff_t pos)
   return 0;
 }
 
-static void locate_problem(int (*isproblem)(struct pike_string *))
+static void locate_problem(int (*isproblem)(const struct pike_string *))
 {
   unsigned INT32 e;
   struct pike_string *s;
-- 
GitLab