summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r--Build/source/texk/kpathsea/tex-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 77088e1e539..323e744c48d 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -1081,7 +1081,7 @@ kpathsea_find_file_generic (kpathsea kpse, const_string const_name,
/* Search, trying to minimize disk-pounding. */
ret = kpathsea_path_search_list_generic (kpse, FMT_INFO.path,
- (const_string*) target, false, all);
+ target, false, all);
/* Do we need to pound the disk? */
if (! *ret && must_exist) {
@@ -1100,7 +1100,7 @@ kpathsea_find_file_generic (kpathsea kpse, const_string const_name,
}
target[count] = NULL;
ret = kpathsea_path_search_list_generic (kpse, FMT_INFO.path,
- (const_string*) target, true, all);
+ target, true, all);
}
/* Free the list we created. */