[sword-svn] r2670 - in trunk: src/modules utilities

scribe at crosswire.org scribe at crosswire.org
Sat Nov 12 13:07:48 MST 2011


Author: scribe
Date: 2011-11-12 13:07:47 -0700 (Sat, 12 Nov 2011)
New Revision: 2670

Modified:
   trunk/src/modules/swmodule.cpp
   trunk/utilities/osis2mod.cpp
Log:
added cast to clucene's Hits object
uncommented genID


Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp	2011-11-12 19:47:33 UTC (rev 2669)
+++ trunk/src/modules/swmodule.cpp	2011-11-12 20:07:47 UTC (rev 2670)
@@ -515,7 +515,7 @@
 
 			// iterate thru each good module position that meets the search
 			bool checkBounds = getKey()->isBoundSet();
-			for (unsigned long i = 0; i < h->length(); i++) {
+			for (unsigned long i = 0; i < (unsigned long)h->length(); i++) {
 				Document &doc = h->doc(i);
 
 				// set a temporary verse key to this module position

Modified: trunk/utilities/osis2mod.cpp
===================================================================
--- trunk/utilities/osis2mod.cpp	2011-11-12 19:47:33 UTC (rev 2669)
+++ trunk/utilities/osis2mod.cpp	2011-11-12 20:07:47 UTC (rev 2670)
@@ -590,7 +590,7 @@
 
 	// Flags indicating whether we are processing the content of to be prepended to a verse
 	static bool               inPreVerse      = false;
-//	static int                genID           = 1;
+	static int                genID           = 1;
 
 	// Flag indicating whether we are in "Words of Christ"
 	static bool               inWOC           = false;




More information about the sword-cvs mailing list