[sword-svn] r3623 - trunk/src/modules/filters

scribe at crosswire.org scribe at crosswire.org
Sat May 18 19:47:42 MST 2019


Author: scribe
Date: 2019-05-18 19:47:41 -0700 (Sat, 18 May 2019)
New Revision: 3623

Modified:
   trunk/src/modules/filters/osisplain.cpp
Log:
forced cast to unsigned before compare

Modified: trunk/src/modules/filters/osisplain.cpp
===================================================================
--- trunk/src/modules/filters/osisplain.cpp	2019-05-05 18:26:51 UTC (rev 3622)
+++ trunk/src/modules/filters/osisplain.cpp	2019-05-19 02:47:41 UTC (rev 3623)
@@ -82,7 +82,7 @@
 	// getUniCharFromUTF8 for slight speed improvement
 		
 	if (stage == PRECHAR) {
-		if (from[0] == 0xC2 && from[1] == 0xAD) return true;	// skip soft hyphens
+		if ((unsigned)from[0] == 0xC2 && (unsigned)from[1] == 0xAD) return true;	// skip soft hyphens
 	}
 	return false;
 }




More information about the sword-cvs mailing list