diff options
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 2 |
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 */ } |