aliasing
authorAnas Nashif <anas.nashif@intel.com>
Mon, 5 Nov 2012 19:27:00 +0000 (11:27 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Mon, 5 Nov 2012 19:27:00 +0000 (11:27 -0800)
file.c

diff --git a/file.c b/file.c
index bd1c2f0..f322762 100644 (file)
--- 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;