SOURCES: gdal-gcc4.patch (NEW) - kill extra qualification, bugfix ...

qboosh qboosh at pld-linux.org
Sun Mar 5 15:02:01 CET 2006


Author: qboosh                       Date: Sun Mar  5 14:02:01 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- kill extra qualification, bugfix (detected as aliasing violation)

---- Files affected:
SOURCES:
   gdal-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gdal-gcc4.patch
diff -u /dev/null SOURCES/gdal-gcc4.patch:1.1
--- /dev/null	Sun Mar  5 15:02:01 2006
+++ SOURCES/gdal-gcc4.patch	Sun Mar  5 15:01:55 2006
@@ -0,0 +1,20 @@
+--- gdal-1.3.1/frmts/fit/fitdataset.cpp.orig	2005-07-05 19:10:52.000000000 +0200
++++ gdal-1.3.1/frmts/fit/fitdataset.cpp	2006-03-05 13:07:26.440480750 +0100
+@@ -174,7 +174,7 @@
+ 
+ public:
+ 
+-    FITRasterBand::FITRasterBand( FITDataset *, int );
++    FITRasterBand( FITDataset *, int );
+ 	~FITRasterBand();
+     
+     // should override RasterIO eventually.
+@@ -1016,7 +1016,7 @@
+         CPLDebug("FIT", "Loading file with header version 01");
+ 
+         // map old style header into new header structure
+-	FIThead01* head01 = (FIThead01*)&head;
++	FIThead01* head01 = (FIThead01*)head;
+         gst_swapb(head->dataOffset);
+ 	info->dataOffset = head01->dataOffset;
+ 
================================================================


More information about the pld-cvs-commit mailing list