[Liblas-commits] libpc: lint

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Feb 23 14:32:12 EST 2011


details:   http://hg.liblas.orglibpc/rev/709b9b078368
changeset: 76:709b9b078368
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed Feb 23 11:32:05 2011 -0800
description:
lint

diffstat:

 test/unit/PointDataTest.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c6e80ef5f98c -r 709b9b078368 test/unit/PointDataTest.cpp
--- a/test/unit/PointDataTest.cpp	Wed Feb 23 08:39:29 2011 -0800
+++ b/test/unit/PointDataTest.cpp	Wed Feb 23 11:32:05 2011 -0800
@@ -50,7 +50,7 @@
     // write the data into the buffer
     for (int i=0; i<17; i++)
     {
-      const boost::uint8_t x = i+1;
+      const boost::uint8_t x = static_cast<boost::uint8_t>(i)+1;
       const boost::int32_t y = i*10;
       const double z = i * 100;
 


More information about the Liblas-commits mailing list