[sword-svn] r1901 - trunk/src/modules

jansorg at crosswire.org jansorg at crosswire.org
Wed Mar 29 13:55:53 MST 2006


Author: jansorg
Date: 2006-03-29 13:55:44 -0700 (Wed, 29 Mar 2006)
New Revision: 1901

Modified:
   trunk/src/modules/swmodule.cpp
Log:
Fixes to work with CLucene 0.9.x

Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp	2006-03-29 20:52:28 UTC (rev 1900)
+++ trunk/src/modules/swmodule.cpp	2006-03-29 20:55:44 UTC (rev 1901)
@@ -474,9 +474,7 @@
 #ifdef USELUCENE
 	if (searchType == -4) {	// lucene
 		//Buffers for the wchar<->utf8 char* conversion
-		enum {
-			MAX_CONV_SIZE = 2047
-		};
+		const unsigned short int MAX_CONV_SIZE = 2047;
 		wchar_t wcharBuffer[MAX_CONV_SIZE + 1];
 		char utfBuffer[MAX_CONV_SIZE + 1];
 		



More information about the sword-cvs mailing list