Changeset 7849 in ntrip


Ignore:
Timestamp:
Mar 21, 2016, 12:14:39 PM (9 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/ephEncoder.cpp

    r7844 r7849  
    128128  int tki = static_cast<int>(eph._tki)+3*60*60;
    129129  if (tki > 86400) {tki -= 86400;}
    130   GLONASSADDBITS(5, tki/(60*60))
    131   GLONASSADDBITS(6, (tki/60)%60)
    132   GLONASSADDBITS(1, (tki/30)%30)
     130  GLONASSADDBITS(5, static_cast<int>(tki)/(60*60))
     131  GLONASSADDBITS(6, (static_cast<int>(tki)/60)%60)
     132  GLONASSADDBITS(1, (static_cast<int>(tki)/30)%30)
    133133  GLONASSADDBITS(1, eph._health)
    134134  GLONASSADDBITS(1, 0)
Note: See TracChangeset for help on using the changeset viewer.