Changeset 931 in ntrip for trunk/BNS/bnseph.cpp


Ignore:
Timestamp:
May 25, 2008, 6:15:34 PM (16 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnseph.cpp

    r930 r931  
    389389
    390390  // 5 LSBs of iod are equal to 5 LSBs of tb, remaining bits are zero
    391   unsigned int iod = tb << 3;
    392   return (iod >> 3);
    393 }
     391  // ----------------------------------------------------------------
     392  const int shift = sizeof(tb) * 8 - 5;
     393  unsigned int iod = tb << shift;
     394  return (iod >> shift);
     395}
Note: See TracChangeset for help on using the changeset viewer.