about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFile.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r--WWW/Library/Implementation/HTFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index bc2859f5..e5f6d77d 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -669,7 +669,7 @@ char *HTnameOfFile_WWW(const char *name,
     char *acc_method = HTParse(name, "", PARSE_ACCESS);
     char *host = HTParse(name, "", PARSE_HOST);
     char *path = HTParse(name, "", PARSE_PATH + PARSE_PUNCTUATION);
-    char *home;
+    const char *home;
     char *result = NULL;
 
     if (expand_all) {
@@ -697,7 +697,7 @@ char *HTnameOfFile_WWW(const char *name,
 	    home = HTVMS_wwwName(home);
 #else
 #if defined(_WINDOWS)		/* 1997/10/16 (Thu) 20:42:51 */
-	home = (char *) Home_Dir();
+	home = Home_Dir();
 #else
 	home = LYGetEnv("HOME");
 #endif