[Liblas-commits] hg: 2 new changesets
liblas-commits at liblas.org
liblas-commits at liblas.org
Mon Aug 23 12:53:47 EDT 2010
changeset 0fd5ba966b28 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=0fd5ba966b28
summary: clean up warnings about newlines at the ends of files
changeset 02499bc7f8fd in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=02499bc7f8fd
summary: cast std::fabs output to a uint32_t, as this is what we want
diffstat:
apps/lasindex_test.cpp | 2 +-
apps/oci_util.cpp | 2 +-
src/lasheader.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r defc01884dc3 -r 02499bc7f8fd apps/lasindex_test.cpp
--- a/apps/lasindex_test.cpp Mon Aug 23 11:47:06 2010 -0500
+++ b/apps/lasindex_test.cpp Mon Aug 23 11:53:39 2010 -0500
@@ -543,4 +543,4 @@
return 0;
}
-// } // namespace liblas
\ No newline at end of file
+// } // namespace liblas
diff -r defc01884dc3 -r 02499bc7f8fd apps/oci_util.cpp
--- a/apps/oci_util.cpp Mon Aug 23 11:47:06 2010 -0500
+++ b/apps/oci_util.cpp Mon Aug 23 11:53:39 2010 -0500
@@ -287,4 +287,4 @@
return true;
-}
\ No newline at end of file
+}
diff -r defc01884dc3 -r 02499bc7f8fd src/lasheader.cpp
--- a/src/lasheader.cpp Mon Aug 23 11:47:06 2010 -0500
+++ b/src/lasheader.cpp Mon Aug 23 11:53:39 2010 -0500
@@ -886,7 +886,7 @@
double integer = 0;
frac = std::modf(scale, &integer);
- boost::uint32_t prec = std::fabs(std::floor(std::log10(frac)));
+ boost::uint32_t prec = static_cast<boost::uint32_t>(std::fabs(std::floor(std::log10(frac))));
os.precision(prec);
os << " Scale Factor X Y Z: "
More information about the Liblas-commits
mailing list