[Liblas-commits] hg: clean up some new warnings in the latest indexing code

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Oct 18 12:32:38 EDT 2010


changeset 5a4f88cb6a8f in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=5a4f88cb6a8f
summary: clean up some new warnings in the latest indexing code

diffstat:

 apps/lasindex_test.cpp           |  2 +-
 src/detail/index/indexoutput.cpp |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3a8fdb46138e -r 5a4f88cb6a8f apps/lasindex_test.cpp
--- a/apps/lasindex_test.cpp	Mon Oct 18 17:08:11 2010 +0100
+++ b/apps/lasindex_test.cpp	Mon Oct 18 11:32:32 2010 -0500
@@ -177,7 +177,7 @@
 		fprintf(debugger, "Points within filter area %d of %d, step %d, %s\n", resultSize, 
 			pointCount, step, "Using iterator");
 		#else // VISUAL_8
-		fprintf(debugger, "Points within filter area %zu of %d, step %d, %s\n", resultSize, 
+		fprintf(debugger, "Points within filter area %d of %d, step %d, %s\n", resultSize, 
 			pointCount, step, "Using iterator");
 		#endif // VISUAL_8
 		return true;
diff -r 3a8fdb46138e -r 5a4f88cb6a8f src/detail/index/indexoutput.cpp
--- a/src/detail/index/indexoutput.cpp	Mon Oct 18 17:08:11 2010 +0100
+++ b/src/detail/index/indexoutput.cpp	Mon Oct 18 11:32:32 2010 -0500
@@ -51,9 +51,9 @@
 	m_index(indexsource), 
 	m_VLRCommonDataSize(6 * sizeof(boost::uint32_t)),
 	m_VLRDataSizeLocation(4 * sizeof(boost::uint32_t)),
-	m_VLRPointCountLocation(5 * sizeof(boost::uint32_t)),
 	m_FirstCellLocation(0),
 	m_LastCellLocation(sizeof(boost::uint32_t) * 2),
+	m_VLRPointCountLocation(5 * sizeof(boost::uint32_t)),
 	m_DataPointsThisVLR(0)
 {
 } // IndexOutput::IndexOutput


More information about the Liblas-commits mailing list