summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/db.c')
-rw-r--r--Build/source/texk/kpathsea/db.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/db.c b/Build/source/texk/kpathsea/db.c
index 76f7763d790..843a1a27b8f 100644
--- a/Build/source/texk/kpathsea/db.c
+++ b/Build/source/texk/kpathsea/db.c
@@ -435,7 +435,7 @@ str_list_type *
kpathsea_db_search (kpathsea kpse, const_string name,
const_string orig_path_elt, boolean all)
{
- string *db_dirs, *orig_dirs;
+ const_string *db_dirs, *orig_dirs;
const_string last_slash, path_elt;
string temp_str = NULL;
boolean done;
@@ -480,7 +480,7 @@ kpathsea_db_search (kpathsea kpse, const_string name,
/* If we have aliases for this name, use them. */
if (kpse->alias_db.buckets)
- aliases = (const_string *) hash_lookup (kpse->alias_db, name);
+ aliases = hash_lookup (kpse->alias_db, name);
else
aliases = NULL;
@@ -586,7 +586,7 @@ str_list_type *
kpathsea_db_search_list (kpathsea kpse, const_string* names,
const_string path_elt, boolean all)
{
- string *db_dirs, *orig_dirs;
+ const_string *db_dirs, *orig_dirs;
const_string last_slash, name, path;
string temp_str = NULL;
boolean done;
@@ -645,7 +645,7 @@ kpathsea_db_search_list (kpathsea kpse, const_string* names,
/* If we have aliases for this name, use them. */
if (kpse->alias_db.buckets)
- aliases = (const_string *) hash_lookup (kpse->alias_db, name);
+ aliases = hash_lookup (kpse->alias_db, name);
else
aliases = NULL;