Last-Update: 2015-11-01
Forwarded: yes
Bug-Upstream: https://bugs.mysql.com/bug.php?id=78950
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803618
Author: Peter Michael Green <plugwash@debian.org>
Reviewed-By: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: Fix error related to char signedness

--- a/library/sql.parser/source/ctype-utf8.cpp
+++ b/library/sql.parser/source/ctype-utf8.cpp
@@ -3868,9 +3868,9 @@
 */
 
 static int hexlo(int x)
 {
-  static char hex_lo_digit[256]=
+  static signed char hex_lo_digit[256]=
   {
     -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* ................ */
     -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* ................ */
     -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /*  !"#$%&'()*+,-./ */
