Changeset 1819 in ntrip


Ignore:
Timestamp:
Apr 30, 2009, 10:41:49 AM (13 years ago)
Author:
stoecker
Message:

fixed warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/clock_and_orbit/clock_orbit_rtcm.c

    r1808 r1819  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id: clock_orbit_rtcm.c,v 1.9 2009/02/27 08:59:49 weber Exp $
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.9 2009/04/24 09:17:24 weber Exp $
    66        Authors:        Dirk Stöcker
    77        Description:    state space approach for RTCM3
     
    128128  int gpshr=0, gpsur=0, gpsor=0, gpscl=0, gpsco=0, glohr=0, glour=0, gloor=0,
    129129  glocl=0, gloco=0, mmi, i;
     130
    130131  STARTDATA
    131132
     
    397398  }
    398399
     400
    399401  return ressize;
    400402}
     
    404406{
    405407  int gps, glo, mmi, i, j;
     408
    406409  STARTDATA
    407410
     
    575578const char *buffer, size_t size, int *bytesused)
    576579{
    577   int type, mmi=0, i, j, h, rs, sizeofrtcmblock;
     580  int type, mmi=0, i, j, h, rs;
     581  size_t sizeofrtcmblock;
    578582  const char *blockstart = buffer;
    579583  DECODESTART
     
    591595    return GCOBR_MESSAGEEXCEEDSBUFFER;
    592596  if(CRC24(sizeofrtcmblock+3, (const unsigned char *) blockstart) !=
    593   ((((unsigned char)buffer[sizeofrtcmblock])<<16)|
     597  (uint32_t)((((unsigned char)buffer[sizeofrtcmblock])<<16)|
    594598   (((unsigned char)buffer[sizeofrtcmblock+1])<<8)|
    595599   (((unsigned char)buffer[sizeofrtcmblock+2]))))
Note: See TracChangeset for help on using the changeset viewer.