mtools/mtools-gcc4.patch
2005-03-15 11:32:02 +00:00

16 lines
675 B
Diff

--- mtools-3.9.9/stream.h.gcc4 2005-03-15 11:27:15.000000000 +0000
+++ mtools-3.9.9/stream.h 2005-03-15 11:27:37.000000000 +0000
@@ -25,10 +25,10 @@
} Class_t;
#define READS(stream, buf, address, size) \
-(stream)->Class->read( (stream), (char *) (buf), (address), (size) )
+((stream)->Class->read)( (stream), (char *) (buf), (address), (size) )
#define WRITES(stream, buf, address, size) \
-(stream)->Class->write( (stream), (char *) (buf), (address), (size) )
+((stream)->Class->write)( (stream), (char *) (buf), (address), (size) )
#define SET_GEOM(stream, dev, orig_dev, media, boot) \
(stream)->Class->set_geom( (stream), (dev), (orig_dev), (media), (boot) )