]> git.pld-linux.org Git - packages/gdal.git/blame - gdal-gcc4.patch
- added ac patch
[packages/gdal.git] / gdal-gcc4.patch
CommitLineData
54f462a8
JB
1--- gdal-1.3.2/frmts/fit/fitdataset.cpp.orig 2005-07-05 19:10:52.000000000 +0200
2+++ gdal-1.3.2/frmts/fit/fitdataset.cpp 2006-03-05 13:07:26.440480750 +0100
fa22453c
JB
3@@ -1016,7 +1016,7 @@
4 CPLDebug("FIT", "Loading file with header version 01");
5
6 // map old style header into new header structure
7- FIThead01* head01 = (FIThead01*)&head;
8+ FIThead01* head01 = (FIThead01*)head;
9 gst_swapb(head->dataOffset);
10 info->dataOffset = head01->dataOffset;
11
54f462a8
JB
12--- gdal-1.3.2/ogr/ogrsf_frmts/ili/ogrili2layer.cpp.orig 2005-11-21 15:56:31.000000000 +0100
13+++ gdal-1.3.2/ogr/ogrsf_frmts/ili/ogrili2layer.cpp 2006-06-03 12:49:56.937947000 +0200
14@@ -73,7 +73,7 @@
15 poFeatureDefn->SetGeomType( eReqType );
16
17 bWriter = bWriterIn;
18- listFeatureIt = 0;
19+ listFeatureIt = listFeature.begin();
20 }
21
22 /************************************************************************/
23@@ -132,7 +132,6 @@
24 /************************************************************************/
25
26 OGRFeature *OGRILI2Layer::GetNextFeature() {
27- if (listFeatureIt == 0) listFeatureIt = listFeature.begin();
28 if (listFeatureIt != listFeature.end())
29 return *(listFeatureIt++);
30 return NULL;
This page took 0.077508 seconds and 4 git commands to generate.