Bash-4.4 distribution sources and documentation
diff --git a/stringlib.c b/stringlib.c
index 9509299..745e536 100644
--- a/stringlib.c
+++ b/stringlib.c
@@ -184,7 +184,7 @@
 strcreplace (string, c, text, do_glob)
      char *string;
      int c;
-     char *text;
+     const char *text;
      int do_glob;
 {
   char *ret, *p, *r, *t;