]> git.pld-linux.org Git - packages/gdal.git/commitdiff
- kill extra qualification, bugfix (detected as aliasing violation)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Mar 2006 14:01:55 +0000 (14:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdal-gcc4.patch -> 1.1

gdal-gcc4.patch [new file with mode: 0644]

diff --git a/gdal-gcc4.patch b/gdal-gcc4.patch
new file mode 100644 (file)
index 0000000..8832843
--- /dev/null
@@ -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;
This page took 0.08876 seconds and 4 git commands to generate.