about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFile.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2002-12-19 02:19:50 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2002-12-19 02:19:50 -0500
commit490d581c911f53008a7eaaed72b655cf40071b03 (patch)
tree9308c9b2dda73faee490d355debae38ad4803b3e /WWW/Library/Implementation/HTFile.c
parentf6e997b7f73d01db84665bc924ba2d065e314e43 (diff)
downloadlynx-snapshots-490d581c911f53008a7eaaed72b655cf40071b03.tar.gz
snapshot of project "lynx", label v2-8-5dev_12
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r--WWW/Library/Implementation/HTFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index e9d5e231..213e2e24 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -1790,7 +1790,7 @@ PRIVATE int print_local_dir ARGS5(
 	    LYAddPathSep(&tmpfilename);
 
 	    StrAllocCat(tmpfilename, dirbuf->d_name);
-	    data = malloc(sizeof(DIRED) + strlen(dirbuf->d_name) + 4);
+	    data = (DIRED *)malloc(sizeof(DIRED) + strlen(dirbuf->d_name) + 4);
 	    if (data == NULL) {
 		/* FIXME */
 	    }