Index: trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
===================================================================
--- trunk/BNC/src/RTCM3/RTCM3Decoder.cpp	(revision 6867)
+++ trunk/BNC/src/RTCM3/RTCM3Decoder.cpp	(revision 6868)
@@ -1271,5 +1271,5 @@
     GETFLOATSIGN(eph._IDOT, 14, R2R_PI/(double)(1<<30)/(double)(1<<13))
     GETBITSFACTOR(i, 14, 60)
-    eph._TOC.set(eph._TOEweek, i);
+    eph._TOC.set(1024+eph._TOEweek, i);
     GETFLOATSIGN(eph._clock_driftrate, 6, 1.0/(double)(1<<30)/(double)(1<<29))
     GETFLOATSIGN(eph._clock_drift, 21, 1.0/(double)(1<<30)/(double)(1<<16))
Index: trunk/rtcm3torinex/lib/rtcm3torinex.c
===================================================================
--- trunk/rtcm3torinex/lib/rtcm3torinex.c	(revision 6867)
+++ trunk/rtcm3torinex/lib/rtcm3torinex.c	(revision 6868)
@@ -632,4 +632,5 @@
         ge->satellite = sv;
         GETBITS(ge->Week, 12)
+        ge->Week += 1024;
         GETBITS(ge->IODnav, 10)
         GETBITS(ge->SISA, 8)
