[Liblas-commits] hg-main-tree: vs2010 lint

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Jun 22 12:40:59 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/4f35afd34b2c
changeset: 797:4f35afd34b2c
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed Jun 22 09:40:54 2011 -0700
description:
vs2010 lint

diffstat:

 src/SpatialReference.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 440b2f7c1a9c -r 4f35afd34b2c src/SpatialReference.cpp
--- a/src/SpatialReference.cpp	Wed Jun 22 09:34:57 2011 -0700
+++ b/src/SpatialReference.cpp	Wed Jun 22 09:40:54 2011 -0700
@@ -276,7 +276,7 @@
     OSRDestroySpatialReference( current );
     OSRDestroySpatialReference( other );
     
-    return bool(output);
+    return (output==1);
     
 #else
     throw pdal_error ("SpatialReference equality testing not available without GDAL+libgeotiff support");


More information about the Liblas-commits mailing list