summaryrefslogtreecommitdiff
path: root/interpolate.c
diff options
context:
space:
mode:
Diffstat (limited to 'interpolate.c')
-rw-r--r--interpolate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/interpolate.c b/interpolate.c
index d82f1b51bb..4570c123dc 100644
--- a/interpolate.c
+++ b/interpolate.c
@@ -25,10 +25,10 @@
*/
int interpolate(char *result, int reslen,
- char *orig,
- struct interp *interps, int ninterps)
+ const char *orig,
+ const struct interp *interps, int ninterps)
{
- char *src = orig;
+ const char *src = orig;
char *dest = result;
int newlen = 0;
char *name, *value;