1
0
forked from pool/mtools
mtools/mtools-aliasing.diff
Petr Gajdos e42a16d143 - patches unversioned; makes update and reviews easier
* mtools-4.0.18-fat-bits.diff -> mtools-fat-bits.diff
  * mtools-4.0.18-conf.diff -> mtools-conf.diff
  * mtools-4.0.18-aliasing.diff -> mtools-aliasing.diff
  * mtools-4.0.18-prototypes.diff -> mtools-prototypes.diff
  * mtools-4.0.18-autoconf.diff -> mtools-autoconf.diff

OBS-URL: https://build.opensuse.org/package/show/Base:System/mtools?expand=0&rev=49
2018-10-31 06:55:23 +00:00

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;