Changeset 3773

Show
Ignore:
Timestamp:
07/21/06 12:48:05 (8 years ago)
Author:
socrates
Message:

Got rid of multiple Windows compile-time warnings (VS7.0).

Location:
vic/trunk/rtp
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vic/trunk/rtp/session.cpp

    r3753 r3773  
    434434                return (Transmitter::command(argc, argv)); 
    435435        } 
     436        //should not be reached 
     437        return (TCL_ERROR); 
    436438} 
    437439 
  • vic/trunk/rtp/source.h

    r985 r3773  
    214214                inline u_int32_t nm() const { return (nm_); } 
    215215                inline u_int32_t ns() const { return (cs_ - fs_); } /* no. expected */ 
    216                 inline u_int32_t ehs() const { return (-(fs_ & 0xffff0000) | cs_); } 
     216                inline u_int32_t ehs() const { return ((-1*(fs_ & 0xffff0000)) | cs_); } 
    217217                inline u_int32_t cs() const { return (cs_); } 
    218218                inline u_int32_t snp() const { return (snp_); }