1
0
forked from pool/mtools
mtools/mtools-4.0.16-aliasing.diff
Petr Gajdos d86a786614 - updated to 4.0.16:
* fixed formatting of fat_size_calculation.tex document
  * Make it clear that label is limited to 13 characters
  * Fixed typo in initialization of FAT32 info sector
- remove invalid-memory.diff

OBS-URL: https://build.opensuse.org/package/show/Base:System/mtools?expand=0&rev=21
2011-05-23 10:23:12 +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;