summaryrefslogtreecommitdiff
path: root/packaging/mtools-4.0.17-aliasing.diff
blob: 96c276c7c74ae5945f52205beb7b33a92d062698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: file.c
===================================================================
--- file.c.orig
+++ file.c
@@ -591,7 +591,7 @@ static Stream_t *_internalFileOpen(Strea
 		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;