Index: trunk/BNC/src/RTCM/RTCM2Decoder.cpp
===================================================================
--- trunk/BNC/src/RTCM/RTCM2Decoder.cpp	(revision 7054)
+++ trunk/BNC/src/RTCM/RTCM2Decoder.cpp	(revision 7055)
@@ -308,5 +308,5 @@
     vector<string> hasIOD;
     for (unsigned ii = 0; ii < 4; ii++) {
-      int IODcorr = 0;
+      unsigned long IODcorr = 0;
       double corrVal = 0;
       const t_eph* eph = 0;
Index: trunk/BNC/src/RTCM3/RTCM3coDecoder.h
===================================================================
--- trunk/BNC/src/RTCM3/RTCM3coDecoder.h	(revision 7054)
+++ trunk/BNC/src/RTCM3/RTCM3coDecoder.h	(revision 7055)
@@ -71,5 +71,5 @@
   int                                   _providerID[3];
   bncTime                               _lastTime;
-  QMap<t_prn, unsigned short>           _IODs;
+  QMap<t_prn, unsigned long>            _IODs;
   QMap<bncTime, QList<t_orbCorr> >      _orbCorrections;
   QMap<bncTime, QList<t_clkCorr> >      _clkCorrections;
Index: trunk/BNC/src/combination/bnccomb.cpp
===================================================================
--- trunk/BNC/src/combination/bnccomb.cpp	(revision 7054)
+++ trunk/BNC/src/combination/bnccomb.cpp	(revision 7055)
@@ -756,5 +756,5 @@
     int updateInt     = 0;
     line.sprintf("%d %d %d %.1f %s"
-                 "   %3d"
+                 "   %lu"
                  "   %8.3f %8.3f %8.3f %8.3f"
                  "   %10.5f %10.5f %10.5f %10.5f"
Index: trunk/BNC/src/combination/bnccomb.h
===================================================================
--- trunk/BNC/src/combination/bnccomb.h	(revision 7054)
+++ trunk/BNC/src/combination/bnccomb.h	(revision 7055)
@@ -71,13 +71,13 @@
     }
     ~cmbCorr() {}
-    QString      _prn;
-    bncTime      _time;
-    int          _iod;
-    t_eph*       _eph;
-    t_orbCorr    _orbCorr;
-    t_clkCorr    _clkCorr;
-    QString      _acName; 
-    double       _dClkResult;
-    ColumnVector _diffRao;
+    QString       _prn;
+    bncTime       _time;
+    unsigned long _iod;
+    t_eph*        _eph;
+    t_orbCorr     _orbCorr;
+    t_clkCorr     _clkCorr;
+    QString       _acName;
+    double        _dClkResult;
+    ColumnVector  _diffRao;
     QString ID() {return _acName + "_" + _prn;}
   };
Index: trunk/BNC/src/pppRun.cpp
===================================================================
--- trunk/BNC/src/pppRun.cpp	(revision 7054)
+++ trunk/BNC/src/pppRun.cpp	(revision 7055)
@@ -436,5 +436,5 @@
     // ----------------
     t_eph* eph = 0;
-    const QMap<QString, int>* corrIODs = _corrFile ? &_corrFile->corrIODs() : 0;
+    const QMap<QString, unsigned long>* corrIODs = _corrFile ? &_corrFile->corrIODs() : 0;
     while ( (eph = _rnxNavFile->getNextEph(epo->tt, corrIODs)) != 0 ) {
       _pppClient->putEphemeris(eph);
Index: trunk/BNC/src/rinex/corrfile.h
===================================================================
--- trunk/BNC/src/rinex/corrfile.h	(revision 7054)
+++ trunk/BNC/src/rinex/corrfile.h	(revision 7055)
@@ -39,5 +39,5 @@
   ~t_corrFile();
   void syncRead(const bncTime& tt);
-  const QMap<QString, int>& corrIODs() const {return _corrIODs;}
+  const QMap<QString, unsigned long>& corrIODs() const {return _corrIODs;}
 
  signals:
@@ -49,8 +49,8 @@
 
  private:
-  std::ifstream      _stream;
-  std::string        _lastLine;
-  bncTime            _lastEpoTime;
-  QMap<QString, int> _corrIODs;
+  std::ifstream                _stream;
+  std::string                  _lastLine;
+  bncTime                      _lastEpoTime;
+  QMap<QString, unsigned long> _corrIODs;
 };
 
Index: trunk/BNC/src/rinex/rnxnavfile.cpp
===================================================================
--- trunk/BNC/src/rinex/rnxnavfile.cpp	(revision 7054)
+++ trunk/BNC/src/rinex/rnxnavfile.cpp	(revision 7055)
@@ -212,14 +212,14 @@
 ////////////////////////////////////////////////////////////////////////////
 t_eph* t_rnxNavFile::getNextEph(const bncTime& tt, 
-                                const QMap<QString, int>* corrIODs) {
+                                const QMap<QString, unsigned long>* corrIODs) {
 
   // Get Ephemeris according to IOD
   // ------------------------------
   if (corrIODs) {
-    QMapIterator<QString, int> itIOD(*corrIODs);
+    QMapIterator<QString, unsigned long> itIOD(*corrIODs);
     while (itIOD.hasNext()) {
       itIOD.next();
       QString prn = itIOD.key();
-      int     iod = itIOD.value();
+      unsigned long iod = itIOD.value();
       vector<t_eph*>::iterator it = _ephs.begin();
       while (it != _ephs.end()) {
Index: trunk/BNC/src/rinex/rnxnavfile.h
===================================================================
--- trunk/BNC/src/rinex/rnxnavfile.h	(revision 7054)
+++ trunk/BNC/src/rinex/rnxnavfile.h	(revision 7055)
@@ -55,5 +55,5 @@
   t_rnxNavFile(const QString& fileName, e_inpOut inpOut);
   ~t_rnxNavFile();
-  t_eph* getNextEph(const bncTime& tt, const QMap<QString, int>* corrIODs);
+  t_eph* getNextEph(const bncTime& tt, const QMap<QString, unsigned long>* corrIODs);
   const std::vector<t_eph*> ephs() const {return _ephs;}
   double version() const {return _header._version;}
Index: trunk/BNC/src/satObs.h
===================================================================
--- trunk/BNC/src/satObs.h	(revision 7054)
+++ trunk/BNC/src/satObs.h	(revision 7055)
@@ -87,5 +87,5 @@
   std::string    _staID;
   t_prn          _prn;
-  unsigned short _iod;
+  unsigned long  _iod;
   bncTime        _time;
   unsigned int   _updateInt;
@@ -102,5 +102,5 @@
   std::string    _staID;
   t_prn          _prn;
-  unsigned short _iod;
+  unsigned long  _iod;
   bncTime        _time;
   unsigned int   _updateInt;
