regcomp.c: Silence compiler warning by using a cast
authorKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 02:51:16 +0000 (19:51 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 04:22:43 +0000 (21:22 -0700)
regcomp.c

index bf1c691..24d5561 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -10845,7 +10845,7 @@ tryagain:
                        len += foldlen - 1;
                     }
                     else {
-                        *(s++) = ender;
+                        *(s++) = (char) ender;
                         maybe_exact &= ! IS_IN_SOME_FOLD_L1(ender);
                     }
                }