From 3fef4e8530f1189d056db5ac4b6aa339d9ffa69b Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 5 Nov 2012 11:27:00 -0800 Subject: [PATCH] aliasing --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4