forked from pool/mtools
7d0c0d2e11
OBS-URL: https://build.opensuse.org/package/show/Base:System/mtools?expand=0&rev=93e46c7ab8b38e2b4a7cf2185017d1aa
14 lines
433 B
Diff
14 lines
433 B
Diff
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;
|