summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/extend-fname.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/extend-fname.c')
-rw-r--r--Build/source/texk/kpathsea/extend-fname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/extend-fname.c b/Build/source/texk/kpathsea/extend-fname.c
index b4a79eb297d..58b77ce4deb 100644
--- a/Build/source/texk/kpathsea/extend-fname.c
+++ b/Build/source/texk/kpathsea/extend-fname.c
@@ -21,13 +21,13 @@
/* We may or may not return NAME. It's up to the caller not to assume
the return value is modifiable. */
-string
+const_string
extend_filename (const_string name, const_string default_suffix)
{
- string new_s;
+ const_string new_s;
const_string suffix = find_suffix (name);
new_s = suffix == NULL ? concat3 (name, ".", default_suffix)
- : (string) name;
+ : name;
return new_s;
}