summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index bd1c2f0..f322762 100644
--- a/file.c
+++ b/file.c
@@ -620,7 +620,7 @@ static Stream_t *_internalFileOpen(Stream_t *Dir, unsigned int first,
Pattern.loopDetectRel = 0;
Pattern.loopDetectAbs = first;
if(!hash_lookup(filehash, (T_HashTableEl) &Pattern,
- (T_HashTableEl **)&File, 0)){
+ (T_HashTableEl **)(void *)&File, 0)){
File->refs++;
This->refs--;
return (Stream_t *) File;