diff src/search.c @ 462:0784d089fdc9 r21-2-46

Import from CVS: tag r21-2-46
author cvs
date Mon, 13 Aug 2007 11:44:37 +0200
parents 223736d75acb
children ccaeb2a3c329
line wrap: on
line diff
--- a/src/search.c	Mon Aug 13 11:43:25 2007 +0200
+++ b/src/search.c	Mon Aug 13 11:44:37 2007 +0200
@@ -1563,7 +1563,7 @@
      in the pattern.  Others don't matter anyway!  */
   xzero (simple_translate);
   for (i = 0; i < 0400; i++)
-    simple_translate[i] = i;
+    simple_translate[i] = (Bufbyte) i;
   i = 0;
   while (i != infinity)
     {
@@ -1648,7 +1648,7 @@
 
 	  while ((j = TRANSLATE (inverse_trt, j)) != k)
 	    {
-	      simple_translate[j] = k;
+	      simple_translate[j] = (Bufbyte) k;
 	      BM_tab[j] = dirlen - i;
 	    }
 #endif