summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 11:27:00 -0800
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-05 16:16:47 +0100
commitef3b3715cf347c96e64badc045f835b33da046ae (patch)
tree286a6c672ed022ddfd83033eb0eaea9a2888ab1e
parent46947e40505db1675b75d734eabbbef6248a243f (diff)
downloadmtools-ef3b3715cf347c96e64badc045f835b33da046ae.tar.gz
mtools-ef3b3715cf347c96e64badc045f835b33da046ae.tar.bz2
mtools-ef3b3715cf347c96e64badc045f835b33da046ae.zip
aliasing
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 22ba233..aab9185 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;