--- /dev/null
+--- 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;
+