Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19138

Modified Files:
        playerc++.h 
Log Message:
A better fix for the unsigned int comparision warning message

Index: playerc++.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** playerc++.h 6 Mar 2008 20:01:32 -0000       1.112
--- playerc++.h 6 Mar 2008 20:28:57 -0000       1.113
***************
*** 2309,2313 ****
      /// return a particular scan value
      double GetScan(uint32_t aIndex) const
!       { if ((uint32_t)(GetVar(mDevice->scan_count)) <= aIndex) return -1.0; 
return GetVar(mDevice->scan[aIndex]); };
      /// This operator provides an alternate way of access the scan data.
      /// For example, SonarProxy[0] == SonarProxy.GetRange(0)
--- 2309,2313 ----
      /// return a particular scan value
      double GetScan(uint32_t aIndex) const
!       { if (GetVar(mDevice->scan_count) <= (int32_t)aIndex) return -1.0; 
return GetVar(mDevice->scan[aIndex]); };
      /// This operator provides an alternate way of access the scan data.
      /// For example, SonarProxy[0] == SonarProxy.GetRange(0)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to