[Liblas-commits] hg-main-tree: oops

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Apr 22 16:06:43 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/f96d6ce88b43
changeset: 631:f96d6ce88b43
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Fri Apr 22 13:06:35 2011 -0700
description:
oops

diffstat:

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

diffs (12 lines):

diff -r 636f4c140d64 -r f96d6ce88b43 src/drivers/las/VariableLengthRecord.cpp
--- a/src/drivers/las/VariableLengthRecord.cpp	Fri Apr 22 12:30:36 2011 -0700
+++ b/src/drivers/las/VariableLengthRecord.cpp	Fri Apr 22 13:06:35 2011 -0700
@@ -140,7 +140,7 @@
         {
         case 34735:
             {
-                int count = length / sizeof(double);
+                int count = length / sizeof(short);
                 // discard invalid "zero" geotags some software emits.
                 while( count > 4 
                     && data[count-1] == 0


More information about the Liblas-commits mailing list