Subject: Fix compilation error
Description: error in compilation, bug sent by mail to upstream
Forwarded: yes
Author: Olivier Sallou <osallou@debian.org>
Last-Updated: 2014-12-14
--- a/c++/src/util/regexp/pcretest.c
+++ b/c++/src/util/regexp/pcretest.c
@@ -250,7 +250,7 @@ for (;;)
     /* Read the next line by normal means, prompting if the file is stdin. */
 
       {
-      if (f == stdin) printf(prompt);
+      if (f == stdin) printf("%s",prompt);
       if (fgets((char *)here, rlen,  f) == NULL)
         return (here == start)? NULL : start;
       }
--- a/c++/include/util/bitset/bmconst.h
+++ b/c++/include/util/bitset/bmconst.h
@@ -147,11 +147,11 @@ const unsigned DeBruijn_bit_position<T>:
 */
 template<bool T> struct first_bit_table
 {
-    static const char _idx[256];
+    static const signed char _idx[256];
 };
 
 template<bool T>
-const char first_bit_table<T>::_idx[256] = {
+const signed char first_bit_table<T>::_idx[256] = {
   -1, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
     4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
     5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
