1
0
forked from pool/mtools
mtools/mtools-4.0.18-aliasing.diff
Petr Gajdos d0108fd2cb - updated to 4.0.18:
* Fix for names of iconv encodings on AIX
  * Fix mt_size_t on NetBSD
  * Fixed compilation on Mingw
  * Fixed doc (especially mformat)
  * Fix mformat'ing of FAT12 filesystems with huge cluster sizes
  * Minfo prints image file name in mformat command line if an image
    file name was given
  * Always generate gzip-compressed RPMs, in order to remain
    compatible with older distributions
  * Fixed buffer overflow with drive letter in mclasserase
- extended fat-bits.patch: add fat_bits parameter again to fat_read()
  and old_fat_read(); it is candidate to drop though

OBS-URL: https://build.opensuse.org/package/show/Base:System/mtools?expand=0&rev=33
2013-03-26 14:08:56 +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;